Random fails of TestTaskManagers.test_deployment_task_managers

Bug #1437232 reported by Sebastian Kalinowski
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Sustaining
Mitaka
Won't Fix
Medium
Fuel Python (Deprecated)
Newton
Confirmed
Medium
Fuel Sustaining

Bug Description

________________ TestTaskManagers.test_deployment_task_managers ________________
[gw3] linux2 -- Python 2.6.9 /home/jenkins/workspace/gate-fuel-web/nailgun/.tox/py26/bin/python2.6
args = (<nailgun.test.integration.test_task_managers.TestTaskManagers testMethod=test_deployment_task_managers>,)
keywargs = {}, extra_args = []
entered_patchers = [<mock._patch object at 0x5b83090>, <mock._patch object at 0x5b83950>, <mock._patch object at 0x5b839d0>, <mock._patch object at 0x5b83a90>]
exc_info = (<class '_pytest.assertion.reinterpret.AssertionError'>, AssertionError('44 != 100',), <traceback object at 0x7f9c942546c8>)
patching = <mock._patch object at 0x5b83090>
arg = <functools.partial object at 0x5b7faa0>

    @wraps(func)
    def patched(*args, **keywargs):
        # don't use a with here (backwards compatability with Python 2.4)
        extra_args = []
        entered_patchers = []

        # can't use try...except...finally because of Python 2.4
        # compatibility
        exc_info = tuple()
        try:
            try:
                for patching in patched.patchings:
                    arg = patching.__enter__()
                    entered_patchers.append(patching)
                    if patching.attribute_name is not None:
                        keywargs.update(arg)
                    elif patching.new is DEFAULT:
                        extra_args.append(arg)

                args += tuple(extra_args)
> return func(*args, **keywargs)

.tox/py26/lib/python2.6/site-packages/mock.py:1190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
nailgun/test/integration/test_task_managers.py:87: in test_deployment_task_managers
    self.env.clusters[0].name
nailgun/test/base.py:814: in wait_ready
    self._wait_task(task, timeout, message)
nailgun/test/base.py:807: in _wait_task
    self.tester.assertEqual(task.progress, 100)
E AssertionError: 44 != 100

As seen here: https://fuel-jenkins.mirantis.com/job/gate-fuel-web/13/testReport/junit/nailgun.test.integration.test_task_managers/TestTaskManagers/test_deployment_task_managers/

Changed in fuel:
status: New → Confirmed
tags: added: nailgun
Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt
removed: nailgun
tags: added: qa-agree-7.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

I mark it as Fix Commited, since we don't saw this bug for few months. And as for me, it's expected since I once tried to fix it within fake threads.

Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
Sebastian Kalinowski (prmtl) wrote :
Changed in fuel:
status: Fix Committed → Confirmed
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Changed in fuel:
milestone: 8.0 → 9.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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