[tryton-debian] Bug#868961: cached-property: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Jul 19 20:22:03 UTC 2017


Source: cached-property
Version: 1.3.0-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64

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 python2,python3 --buildsystem=pybuild
>    dh_testdir -O--buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:184: python2.7 setup.py config 
> running config
> I: pybuild base:184: python3.5 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:184: /usr/bin/python setup.py build 
> running build
> running build_py
> copying cached_property.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build
> running egg_info
> writing cached_property.egg-info/PKG-INFO
> writing top-level names to cached_property.egg-info/top_level.txt
> writing dependency_links to cached_property.egg-info/dependency_links.txt
> reading manifest file 'cached_property.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under directory '*'
> warning: no previously-included files matching '*.py[co]' found under directory '*'
> warning: no files found matching '*.rst' under directory 'docs'
> warning: no files found matching 'conf.py' under directory 'docs'
> warning: no files found matching 'Makefile' under directory 'docs'
> warning: no files found matching 'make.bat' under directory 'docs'
> writing manifest file 'cached_property.egg-info/SOURCES.txt'
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying cached_property.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build
> running egg_info
> writing cached_property.egg-info/PKG-INFO
> writing top-level names to cached_property.egg-info/top_level.txt
> writing dependency_links to cached_property.egg-info/dependency_links.txt
> reading manifest file 'cached_property.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under directory '*'
> warning: no previously-included files matching '*.py[co]' found under directory '*'
> warning: no files found matching '*.rst' under directory 'docs'
> warning: no files found matching 'conf.py' under directory 'docs'
> warning: no files found matching 'Makefile' under directory 'docs'
> warning: no files found matching 'make.bat' under directory 'docs'
> writing manifest file 'cached_property.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
> test_cached_property (tests.test_cached_property.TestCachedProperty) ... ok
> test_none_cached_property (tests.test_cached_property.TestCachedProperty) ... ok
> test_reset_cached_property (tests.test_cached_property.TestCachedProperty) ... ok
> test_set_cached_property (tests.test_cached_property.TestCachedProperty) ... ok
> test_threads (tests.test_cached_property.TestCachedProperty) ... ok
> test_cached_property (tests.test_cached_property.TestCachedPropertyWithTTL) ... ok
> test_none_cached_property (tests.test_cached_property.TestCachedPropertyWithTTL) ... ok
> test_reset_cached_property (tests.test_cached_property.TestCachedPropertyWithTTL) ... ok
> test_set_cached_property (tests.test_cached_property.TestCachedPropertyWithTTL) ... ok
> test_threads (tests.test_cached_property.TestCachedPropertyWithTTL) ... ok
> test_threads_ttl_expiry (tests.test_cached_property.TestCachedPropertyWithTTL) ... FAIL
> test_ttl_expiry (tests.test_cached_property.TestCachedPropertyWithTTL) ... ok
> test_cached_property (tests.test_cached_property.TestThreadedCachedProperty) ... ok
> test_none_cached_property (tests.test_cached_property.TestThreadedCachedProperty) ... ok
> test_reset_cached_property (tests.test_cached_property.TestThreadedCachedProperty) ... ok
> test_set_cached_property (tests.test_cached_property.TestThreadedCachedProperty) ... ok
> test_threads (tests.test_cached_property.TestThreadedCachedProperty) ... ok
> test_cached_property (tests.test_cached_property.TestThreadedCachedPropertyWithTTL) ... ok
> test_none_cached_property (tests.test_cached_property.TestThreadedCachedPropertyWithTTL) ... ok
> test_reset_cached_property (tests.test_cached_property.TestThreadedCachedPropertyWithTTL) ... ok
> test_set_cached_property (tests.test_cached_property.TestThreadedCachedPropertyWithTTL) ... ok
> test_threads (tests.test_cached_property.TestThreadedCachedPropertyWithTTL) ... ok
> test_threads_ttl_expiry (tests.test_cached_property.TestThreadedCachedPropertyWithTTL) ... ok
> test_ttl_expiry (tests.test_cached_property.TestThreadedCachedPropertyWithTTL) ... ok
> 
> ======================================================================
> FAIL: test_threads_ttl_expiry (tests.test_cached_property.TestCachedPropertyWithTTL)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "tests/test_cached_property.py", line 208, in test_threads_ttl_expiry
>     self.assert_cached(check, 2 * num_threads)
>   File "tests/test_cached_property.py", line 69, in assert_cached
>     self.assertEqual(check.add_cached, expected)
> AssertionError: 9 != 10
> 
> ----------------------------------------------------------------------
> Ran 24 tests in 8.051s
> 
> FAILED (failures=1)
> E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
> dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/cached-property_1.3.0-2_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.



More information about the tryton-debian mailing list