[PKG-Openstack-devel] Bug#884052: python-oslo.log FTBFS: AssertionError: Expected '_log' to be called once. Called 0 times.

Adrian Bunk bunk at debian.org
Sun Dec 10 21:14:05 UTC 2017


Source: python-oslo.log
Version: 3.30.0-2
Severity: serious

Some recent change in unstable makes python-oslo.log FTBFS:

https://tests.reproducible-builds.org/debian/history/python-oslo.log.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-oslo.log.html

...
======================================================================
FAIL: oslo_log.tests.unit.test_log.KeywordArgumentAdapterTestCase.test_pass_args_to_log
oslo_log.tests.unit.test_log.KeywordArgumentAdapterTestCase.test_pass_args_to_log
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/build/1st/python-oslo.log-3.30.0/oslo_log/tests/unit/test_log.py", line 1684, in test_pass_args_to_log
    exc_info=exc_message
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 947, in assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected '_log' to be called once. Called 0 times.


======================================================================
FAIL: oslo_log.tests.unit.test_log.KeywordArgumentAdapterTestCase.test_pass_args_via_debug
oslo_log.tests.unit.test_log.KeywordArgumentAdapterTestCase.test_pass_args_via_debug
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/build/1st/python-oslo.log-3.30.0/oslo_log/tests/unit/test_log.py", line 1710, in test_pass_args_via_debug
    exc_info=exc_message
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 947, in assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected '_log' to be called once. Called 0 times.


----------------------------------------------------------------------
Ran 168 tests in 14.053s

FAILED (failures=2, skipped=1)
debian/rules:28: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Openstack-devel mailing list