[PKG-Openstack-devel] Bug#799995: oslo-config: FTBFS: AttributeError: assert_call_count

Chris Lamb lamby at debian.org
Fri Sep 25 07:05:08 UTC 2015


Source: oslo-config
Version: 1.9.3-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

oslo-config fails to build from source in unstable/amd64:

  [..]

  process-returncode ... FAIL
  
  ======================================================================
  FAIL:
  oslo_config.tests.test_cfg.ConfigFileOptsTestCase.test_conf_file_float_default_wrong_type
  oslo_config.tests.test_cfg.ConfigFileOptsTestCase.test_conf_file_float_default_wrong_type
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in
    patched
      return func(*args, **keywargs)
    File "oslo_config/tests/test_cfg.py", line 1001, in
    test_conf_file_float_default_wrong_type
      mock_log.debug.assert_call_count(1)
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_call_count
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in
    patched
      return func(*args, **keywargs)
    File "oslo_config/tests/test_cfg.py", line 1001, in
    test_conf_file_float_default_wrong_type
      mock_log.debug.assert_call_count(1)
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_call_count
  
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in
    patched
      return func(*args, **keywargs)
    File "oslo_config/tests/test_cfg.py", line 1001, in
    test_conf_file_float_default_wrong_type
      mock_log.debug.assert_call_count(1)
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_call_count
  
  
  ======================================================================
  FAIL:
  oslo_config.tests.test_cfg.ConfigFileOptsTestCase.test_conf_file_int_wrong_default
  oslo_config.tests.test_cfg.ConfigFileOptsTestCase.test_conf_file_int_wrong_default
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in
    patched
      return func(*args, **keywargs)
    File "oslo_config/tests/test_cfg.py", line 935, in
    test_conf_file_int_wrong_default
      mock_log.debug.assert_call_count(1)
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_call_count
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in
    patched
      return func(*args, **keywargs)
    File "oslo_config/tests/test_cfg.py", line 935, in
    test_conf_file_int_wrong_default
      mock_log.debug.assert_call_count(1)
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_call_count
  
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in
    patched
      return func(*args, **keywargs)
    File "oslo_config/tests/test_cfg.py", line 935, in
    test_conf_file_int_wrong_default
      mock_log.debug.assert_call_count(1)
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_call_count
  
  
  ======================================================================
  FAIL: process-returncode
  process-returncode
  ----------------------------------------------------------------------
  _StringException: returncode 1
  
  
  ----------------------------------------------------------------------
  Ran 602 tests in 2.738s
  
  FAILED (failures=3)
  debian/rules:32: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/oslo-config-1.9.3'
  debian/rules:16: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/oslo-config_1.9.3-2.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: oslo-config.1.9.3-2.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20150925/69948dea/attachment-0001.txt>


More information about the Openstack-devel mailing list