[PKG-Openstack-devel] Bug#841516: python-dogpile.cache: FTBFS (AssertionError: 1 != 0)

Santiago Vila sanvila at debian.org
Fri Oct 21 09:59:58 UTC 2016


Package: src:python-dogpile.cache
Version: 0.6.2-3
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh build-indep --buildsystem=python_distutils --with python2,python3,sphinxdoc
   dh_testdir -i -O--buildsystem=python_distutils
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils
   dh_auto_build -i -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions

[... snipped ...]

tests/cache/test_region.py::CustomInvalidationStrategyTest::test_should_delete_multiple_values PASSED
tests/cache/test_region.py::CustomInvalidationStrategyTest::test_should_get_multiple_values PASSED
tests/cache/test_region.py::CustomInvalidationStrategyTest::test_should_set_multiple_values PASSED
tests/cache/test_region.py::CustomInvalidationStrategyTest::test_soft_invalidate_get PASSED
tests/cache/test_region.py::CustomInvalidationStrategyTest::test_soft_invalidate_get_or_create PASSED
tests/cache/test_region.py::CustomInvalidationStrategyTest::test_soft_invalidate_get_or_create_multi PASSED
tests/cache/test_region.py::CustomInvalidationStrategyTest::test_soft_invalidate_requires_expire_time_get PASSED
tests/cache/test_region.py::CustomInvalidationStrategyTest::test_soft_invalidate_requires_expire_time_get_multi PASSED
tests/cache/test_region.py::ProxyBackendTest::test_argument_proxies PASSED
tests/cache/test_region.py::ProxyBackendTest::test_cachedvalue_passed PASSED
tests/cache/test_region.py::ProxyBackendTest::test_counter_proxies PASSED
tests/cache/test_region.py::ProxyBackendTest::test_instance_proxies PASSED
tests/cache/plugins/test_mako_cache.py::TestMakoPlugin::test_basic PASSED
tests/cache/plugins/test_mako_cache.py::TestMakoPlugin::test_timeout PASSED
tests/util/test_nameregistry.py::NameRegistryTest::test_name_registry PASSED
=========================== short test summary info ============================
FAIL tests/cache/test_memcached_backend.py::LocalThreadTest::test_client_cleanup_1
FAIL tests/cache/test_memcached_backend.py::LocalThreadTest::test_client_cleanup_3

=================================== FAILURES ===================================
____________________ LocalThreadTest.test_client_cleanup_1 _____________________
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/cache/test_memcached_backend.py", line 273, in test_client_cleanup_1
    self._test_client_cleanup(1)
  File "/<<PKGBUILDDIR>>/tests/cache/test_memcached_backend.py", line 299, in _test_client_cleanup
    eq_(MockClient.number_of_clients(), 0)
  File "/<<PKGBUILDDIR>>/tests/cache/__init__.py", line 11, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 1 != 0
____________________ LocalThreadTest.test_client_cleanup_3 _____________________
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/cache/test_memcached_backend.py", line 276, in test_client_cleanup_3
    self._test_client_cleanup(3)
  File "/<<PKGBUILDDIR>>/tests/cache/test_memcached_backend.py", line 299, in _test_client_cleanup
    eq_(MockClient.number_of_clients(), 0)
  File "/<<PKGBUILDDIR>>/tests/cache/__init__.py", line 11, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 1 != 0
============================ pytest-warning summary ============================
WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
==== 2 failed, 290 passed, 208 skipped, 1 pytest-warnings in 227.87 seconds ====
debian/rules:24: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:10: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

This also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/networking-arista.html

but the errors are different (?). If you plan to disable the tests that fail until we know
why they fail (I always recommend that, and I think you already do that as a normal thing),
please take a look at all the available build logs.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

Thanks.



More information about the Openstack-devel mailing list