TestDockerImageUploader fails w/ MagicMock name='__call__' id='140093860573392'> is not a Python function

Bug #1788941 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Critical
Unassigned

Bug Description

Failed in the gate

ft1.3: tripleo_common.tests.image.test_image_uploader.TestDockerImageUploader.test_push_retry_StringException: Traceback (most recent call last):
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "tripleo_common/tests/image/test_image_uploader.py", line 690, in test_push_retry
    self.uploader._push(dockerc, image)
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/tenacity/__init__.py", line 292, in wrapped_f
    return self.call(f, *args, **kw)
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/tenacity/__init__.py", line 358, in call
    do = self.iter(retry_state=retry_state)
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/tenacity/__init__.py", line 334, in iter
    if self.wait:
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/tenacity/_utils.py", line 153, in __get__
    value = obj.__dict__[self.func.__name__] = self.func(obj)
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/tenacity/__init__.py", line 208, in wait
    return _compat.wait_func_accept_retry_state(self._wait)
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/tenacity/compat.py", line 168, in wait_func_accept_retry_state
    if func_takes_retry_state(wait_func):
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/tenacity/compat.py", line 32, in func_takes_retry_state
    func_spec = _utils.getargspec(func)
  File "/home/zuul/src/git.openstack.org/openstack/tripleo-common/.tox/py27/local/lib/python2.7/site-packages/tenacity/_utils.py", line 57, in getargspec
    return inspect.getargspec(func)
  File "/usr/lib/python2.7/inspect.py", line 816, in getargspec
    raise TypeError('{!r} is not a Python function'.format(func))
TypeError: <MagicMock name='__call__' id='140093860573392'> is not a Python function

http://logs.openstack.org/77/591777/1/gate/openstack-tox-py27/1756ee7/testr_results.html.gz

Tags: alert
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.