Source: cached-property
Version: 1.5.1-2
Severity: serious
Tags: buster sid
User: [email protected]
Usertags: qa-ftbfs-20190315 qa-ftbfs
Justification: FTBFS in buster on amd64
Hi,
During a rebuild of all packages in buster (in a buster chroot, not a
sid chroot), your package failed to build on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python2,python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python2.7 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/python setup.py build
> running build
> running build_py
> copying cached_property.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_cached-property/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 'conftest.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:217: /usr/bin/python3 setup.py build
> running build
> running build_py
> copying cached_property.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build
> running egg_info
> writing cached_property.egg-info/PKG-INFO
> writing dependency_links to cached_property.egg-info/dependency_links.txt
> writing top-level names to cached_property.egg-info/top_level.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 'conftest.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:217: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build; python3.7 -m
> unittest discover -v
> test_cached_property (tests.test_async_cached_property.TestCachedProperty)
> ... ok
> test_none_cached_property
> (tests.test_async_cached_property.TestCachedProperty) ... ok
> test_reset_cached_property
> (tests.test_async_cached_property.TestCachedProperty) ... ok
> 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
> test_cached_property
> (tests.test_coroutine_cached_property.TestCachedProperty) ... ok
> test_none_cached_property
> (tests.test_coroutine_cached_property.TestCachedProperty) ... ok
> test_reset_cached_property
> (tests.test_coroutine_cached_property.TestCachedProperty) ... ok
>
> ======================================================================
> FAIL: test_threads_ttl_expiry
> (tests.test_cached_property.TestCachedPropertyWithTTL)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build/tests/test_cached_property.py",
> line 207, in test_threads_ttl_expiry
> self.assert_cached(check, 2 * num_threads)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build/tests/test_cached_property.py",
> line 69, in assert_cached
> self.assertEqual(check.add_cached, expected)
> AssertionError: 6 != 10
>
> ----------------------------------------------------------------------
> Ran 30 tests in 8.060s
>
> FAILED (failures=1)
> assert_cached <generator object
> cached_property._wrap_in_coroutine.<locals>.wrapper at 0x7fa6543519a8>
> assert_cached <Task finished coro=<CheckFactory.<locals>.Check.add_cached()
> done, defined at
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build/tests/test_async_cached_property.py:36>
> result=1>
> assert_cached <Task finished coro=<CheckFactory.<locals>.Check.add_cached()
> done, defined at
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build/tests/test_async_cached_property.py:36>
> result=1>
> assert_cached <generator object
> cached_property._wrap_in_coroutine.<locals>.wrapper at 0x7fa6537a7138>
> assert_cached <generator object
> cached_property._wrap_in_coroutine.<locals>.wrapper at 0x7fa6537a7138>
> assert_cached <Task finished coro=<CheckFactory.<locals>.Check.add_cached()
> done, defined at
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build/tests/test_async_cached_property.py:36>
> result=1>
> assert_cached <generator object
> cached_property._wrap_in_coroutine.<locals>.wrapper at 0x7fa6537a7138>
> assert_cached <Task finished coro=<CheckFactory.<locals>.Check.add_cached()
> done, defined at
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build/tests/test_async_cached_property.py:36>
> result=2>
> assert_cached <generator object
> cached_property._wrap_in_coroutine.<locals>.wrapper at 0x7fa6537a7660>
> assert_cached <Task finished coro=<CheckFactory.<locals>.Check.add_cached()
> done, defined at /usr/lib/python3.7/asyncio/coroutines.py:118> result=1>
> assert_cached <Task finished coro=<CheckFactory.<locals>.Check.add_cached()
> done, defined at /usr/lib/python3.7/asyncio/coroutines.py:118> result=1>
> assert_cached <generator object
> cached_property._wrap_in_coroutine.<locals>.wrapper at 0x7fa6537a75e8>
> assert_cached <generator object
> cached_property._wrap_in_coroutine.<locals>.wrapper at 0x7fa6537a76d8>
> assert_cached <Task finished coro=<CheckFactory.<locals>.Check.add_cached()
> done, defined at /usr/lib/python3.7/asyncio/coroutines.py:118> result=1>
> assert_cached <generator object
> cached_property._wrap_in_coroutine.<locals>.wrapper at 0x7fa6537a76d8>
> assert_cached <Task finished coro=<CheckFactory.<locals>.Check.add_cached()
> done, defined at /usr/lib/python3.7/asyncio/coroutines.py:118> result=2>
> E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_cached-property/build; python3.7 -m
> unittest discover -v
> dh_auto_test: pybuild --test -i python{version} -p 3.7 returned exit code 13
The full build log is available from:
http://aws-logs.debian.net/2019/03/15/cached-property_1.5.1-2_testing.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.