[PKG-Openstack-devel] Bug#795972: python-oslotest: FTBFS: AttributeError: assert_any_calls

Chris Lamb lamby at debian.org
Tue Aug 18 12:33:52 UTC 2015


Source: python-oslotest
Version: 1.5.1-1
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,

python-oslotest fails to build from source on unstable/amd64:

  [..]
  
  ======================================================================
  FAIL:
  tests.unit.test_base.TestBaseTestCase.test_fake_logs_with_log_cap
  tests.unit.test_base.TestBaseTestCase.test_fake_logs_with_log_cap
  ----------------------------------------------------------------------
  _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 "tests/unit/test_base.py", line 82, in
    test_fake_logs_with_log_cap
      env_get_mock.assert_any_calls('OS_DEBUG')
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_any_calls
  
  
  ======================================================================
  FAIL: process-returncode
  process-returncode
  ----------------------------------------------------------------------
  _StringException: returncode 1
  
  
  ======================================================================
  FAIL: tests.unit.test_base.TestBaseTestCase.test_fake_logs_with_debug
  tests.unit.test_base.TestBaseTestCase.test_fake_logs_with_debug
  ----------------------------------------------------------------------
  _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 "tests/unit/test_base.py", line 69, in
    test_fake_logs_with_debug
      env_get_mock.assert_any_calls('OS_DEBUG')
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_any_calls
  
  
  ======================================================================
  FAIL: process-returncode
  process-returncode
  ----------------------------------------------------------------------
  _StringException: returncode 1
  
  
  ======================================================================
  FAIL: tests.unit.test_base.TestBaseTestCase.test_fake_logs_default
  tests.unit.test_base.TestBaseTestCase.test_fake_logs_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 "tests/unit/test_base.py", line 58, in test_fake_logs_default
      env_get_mock.assert_any_calls('OS_DEBUG')
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_any_calls
  
  
  ======================================================================
  FAIL: process-returncode
  process-returncode
  ----------------------------------------------------------------------
  _StringException: returncode 1
  
  
  ----------------------------------------------------------------------
  Ran 22 tests in 1.377s
  
  FAILED (failures=6)
  debian/rules:33: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/python-oslotest-1.5.1'
  debian/rules:12: 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/python-oslotest_1.5.1-1.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: python-oslotest.1.5.1-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20150818/c9ec485c/attachment-0001.txt>


More information about the Openstack-devel mailing list