Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #349942
| From | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.rc |
| Subject | Bug#1054772: python-crontab: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13 |
| Date | 2023-10-27 21:50 +0200 |
| Message-ID | <HtB0p-1i2K-77@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Source: python-crontab
Version: 3.0.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20231027 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'release'
> warnings.warn(msg)
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> copying crontab.py -> build/lib
> copying crontabs.py -> build/lib
> copying cronlog.py -> build/lib
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> copying build/lib/crontab.py -> build/bdist.linux-x86_64/wheel
> copying build/lib/cronlog.py -> build/bdist.linux-x86_64/wheel
> copying build/lib/crontabs.py -> build/bdist.linux-x86_64/wheel
> running install_egg_info
> running egg_info
> writing python_crontab.egg-info/PKG-INFO
> writing dependency_links to python_crontab.egg-info/dependency_links.txt
> writing requirements to python_crontab.egg-info/requires.txt
> writing top-level names to python_crontab.egg-info/top_level.txt
> writing manifest file 'python_crontab.egg-info/SOURCES.txt'
> reading manifest file 'python_crontab.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'COPYING'
> adding license file 'AUTHORS'
> writing manifest file 'python_crontab.egg-info/SOURCES.txt'
> Copying python_crontab.egg-info to build/bdist.linux-x86_64/wheel/python_crontab-3.0.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/python_crontab-3.0.0.dist-info/WHEEL
> creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/.tmp-xnironfm/python_crontab-3.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'cronlog.py'
> adding 'crontab.py'
> adding 'crontabs.py'
> adding 'python_crontab-3.0.0.dist-info/AUTHORS'
> adding 'python_crontab-3.0.0.dist-info/COPYING'
> adding 'python_crontab-3.0.0.dist-info/METADATA'
> adding 'python_crontab-3.0.0.dist-info/WHEEL'
> adding 'python_crontab-3.0.0.dist-info/top_level.txt'
> adding 'python_crontab-3.0.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built python_crontab-3.0.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/build; python3.11 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/build
> collected 176 items
>
> tests/test_compatibility.py ........s [ 5%]
> tests/test_context.py . [ 5%]
> tests/test_croniter.py ..... [ 8%]
> tests/test_crontabs.py ..... [ 11%]
> tests/test_description.py ss [ 12%]
> tests/test_enums.py ........ [ 17%]
> tests/test_env.py ........... [ 23%]
> tests/test_equality.py .... [ 25%]
> tests/test_every.py ......... [ 30%]
> tests/test_frequency.py ...................F. [ 42%]
> tests/test_interaction.py ................................ [ 60%]
> tests/test_log.py ....... [ 64%]
> tests/test_range.py ........ [ 69%]
> tests/test_removal.py ............ [ 76%]
> tests/test_scheduler.py ...F. [ 78%]
> tests/test_system_cron.py .......... [ 84%]
> tests/test_usage.py ................... [ 95%]
> tests/test_utf8.py ........ [100%]
>
> =================================== FAILURES ===================================
> _________________ FrequencyTestCase.test_19_frequency_at_month _________________
>
> self = <tests.test_frequency.FrequencyTestCase testMethod=test_19_frequency_at_month>
>
> def test_19_frequency_at_month(self):
> """Frequency per month at moment"""
> job = self.crontab.new(command='at_month')
> job.setall("2,4 9 7,14 10,11 *")
> self.assertEqual(job.frequency_at_month(2021, 10), 4)
> self.assertEqual(job.frequency_at_month(2021, 12), 0)
> > self.assertEqual(job.frequency_at_month(), 0)
> E AssertionError: 4 != 0
>
> tests/test_frequency.py:180: AssertionError
> ____________________ SchedulerTestCase.test_04_schedule_ten ____________________
>
> self = <tests.test_scheduler.SchedulerTestCase testMethod=test_04_schedule_ten>
>
> def test_04_schedule_ten(self):
> """Every Ten Minutes"""
> > self.assertSchedule("*/10 * * * *", 12, 1)
>
> tests/test_scheduler.py:104:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> tests/test_scheduler.py:82: in assertSchedule
> self.assertEqual(len(ret), result)
> E AssertionError: 2 != 1
> =============================== warnings summary ===============================
> tests/test_compatibility.py:111
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/build/tests/test_compatibility.py:111: DeprecationWarning: invalid escape sequence '\#'
> cron = crontab.CronTab(tab="""
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_frequency.py::FrequencyTestCase::test_19_frequency_at_month
> FAILED tests/test_scheduler.py::SchedulerTestCase::test_04_schedule_ten - Ass...
> ============= 2 failed, 171 passed, 3 skipped, 1 warning in 0.85s ==============
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/10/27/python-crontab_3.0.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1054772: python-crontab: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13 Lucas Nussbaum <lucas@debian.org> - 2023-10-27 21:50 +0200
Bug#1054772: marked as pending in python-crontab Michael Fladischer <fladi@debian.org> - 2023-11-17 21:10 +0100
Processed: Bug#1054772 marked as pending in python-crontab "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-11-17 21:10 +0100
Bug#1054772: marked as done (python-crontab: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-11-17 21:50 +0100
csiph-web