[PKG-Openstack-devel] Bug#797443: python-taskflow: FTBFS: AttributeError: assert_called_once

Chris Lamb lamby at debian.org
Sun Aug 30 18:35:51 UTC 2015


Source: python-taskflow
Version: 0.7.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-taskflow fails to build from source in unstable/amd64. Also note
there is another test failure referencing "assert_called_onec_with" -
typo there?

  [..]
  
  ======================================================================
  FAIL:
  taskflow.tests.unit.test_task.TaskTest.test_update_progress_handler_failure
  taskflow.tests.unit.test_task.TaskTest.test_update_progress_handler_failure
  ----------------------------------------------------------------------
  _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 "taskflow/tests/unit/test_task.py", line 253, in
    test_update_progress_handler_failure
      mocked_warn.assert_called_once()
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_called_once
  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 "taskflow/tests/unit/test_task.py", line 253, in
    test_update_progress_handler_failure
      mocked_warn.assert_called_once()
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_called_once
  
  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 "taskflow/tests/unit/test_task.py", line 253, in
    test_update_progress_handler_failure
      mocked_warn.assert_called_once()
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_called_once
  
  
  ======================================================================
  FAIL: process-returncode
  process-returncode
  ----------------------------------------------------------------------
  _StringException: returncode 1
  
  
  ----------------------------------------------------------------------
  Ran 1215 tests in 90.469s
  
  FAILED (failures=4, skipped=2)
  debian/rules:17: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory
  '/home/lamby/temp/cdt.20150830192645.ojYjBaeSnN/python-taskflow-0.7.1'
  debian/rules:9: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-taskflow.0.7.1-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20150830/1d17e64b/attachment-0001.txt>


More information about the Openstack-devel mailing list