Source: django-housekeeping
Version: 1.1-1.1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.8 setup.py config
> running config
> I: pybuild base:217: python3.7 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.8 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/tests.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/models.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/toposort.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/task.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/run.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/report.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/management
> copying django_housekeeping/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/management/commands
> copying django_housekeeping/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/management/commands
> copying django_housekeeping/management/commands/housekeeping.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/management/commands
> I: pybuild base:217: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/tests.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/models.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/toposort.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/task.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/run.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping
> copying django_housekeeping/report.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping/management
> copying django_housekeeping/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping/management/commands
> copying django_housekeeping/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping/management/commands
> copying django_housekeeping/management/commands/housekeeping.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-housekeeping/build/django_housekeeping/management/commands
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build; python3.8
> -m unittest discover -v
> test_skipstage (django_housekeeping.tests.TestDependencies) ... ERROR
> test_run (django_housekeeping.tests.TestHousekeeping) ... ERROR
> test_report (django_housekeeping.tests.TestReport) ... ERROR
> test_real (django_housekeeping.tests.TestToposort) ... ok
> test_simple (django_housekeeping.tests.TestToposort) ... ok
> test_stage_without_tasks (django_housekeeping.tests.TestToposort) ... ok
>
> ======================================================================
> ERROR: test_skipstage (django_housekeeping.tests.TestDependencies)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/tests.py",
> line 117, in test_skipstage
> h.run()
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 432, in run
> self.stages[stage].run(run_filter=run_filter)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 227, in run
> self.results[identifier] = self.run_task(task, mock)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 191, in run_task
> run_info = RunInfo(self, task, mock=mock)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 56, in __init__
> self.clock_start = time.clock()
> AttributeError: module 'time' has no attribute 'clock'
>
> ======================================================================
> ERROR: test_run (django_housekeeping.tests.TestHousekeeping)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/tests.py",
> line 36, in test_run
> h.run()
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 432, in run
> self.stages[stage].run(run_filter=run_filter)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 227, in run
> self.results[identifier] = self.run_task(task, mock)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 191, in run_task
> run_info = RunInfo(self, task, mock=mock)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 56, in __init__
> self.clock_start = time.clock()
> AttributeError: module 'time' has no attribute 'clock'
>
> ======================================================================
> ERROR: test_report (django_housekeeping.tests.TestReport)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/tests.py",
> line 139, in test_report
> h.run()
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 432, in run
> self.stages[stage].run(run_filter=run_filter)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 227, in run
> self.results[identifier] = self.run_task(task, mock)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 191, in run_task
> run_info = RunInfo(self, task, mock=mock)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build/django_housekeeping/run.py",
> line 56, in __init__
> self.clock_start = time.clock()
> AttributeError: module 'time' has no attribute 'clock'
>
> ----------------------------------------------------------------------
> Ran 6 tests in 0.003s
>
> FAILED (errors=3)
> E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-housekeeping/build; python3.8
> -m unittest discover -v
> dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned
> exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/django-housekeeping_1.1-1.1_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.