sporadic failure of tests.notify.test_listener.TestNotifyListener.test_two_pools_three_listener

Bug #1397338 reported by Mehdi Abaakouk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging
Fix Released
Undecided
Mehdi Abaakouk

Bug Description

Hi,

Sometimes, tests.notify.test_listener.TestNotifyListener.test_two_pools_three_listener with:

2014-11-28 14:09:31.238 | ======================================================================
2014-11-28 14:09:31.238 | FAIL: tests.notify.test_listener.TestNotifyListener.test_two_pools_three_listener
2014-11-28 14:09:31.238 | tags: worker-7
2014-11-28 14:09:31.238 | ----------------------------------------------------------------------
2014-11-28 14:09:31.238 | Traceback (most recent call last):
2014-11-28 14:09:31.238 | File "/home/jenkins/workspace/gate-oslo.messaging-python33/tests/notify/test_listener.py", line 344, in test_two_pools_three_listener
2014-11-28 14:09:31.238 | self.assertNotEqual(0, endpoint2.info.call_count)
2014-11-28 14:09:31.239 | File "/home/jenkins/workspace/gate-oslo.messaging-python33/.tox/py33/lib/python3.3/site-packages/unittest2/case.py", line 842, in assertNotEqual
2014-11-28 14:09:31.239 | raise self.failureException(msg)
2014-11-28 14:09:31.239 | AssertionError: 0 == 0
2014-11-28 14:09:31.239 | Traceback (most recent call last):
2014-11-28 14:09:31.239 | testtools.testresult.real._StringException: Empty attachments:
2014-11-28 14:09:31.239 | stderr
2014-11-28 14:09:31.239 | stdout
2014-11-28 14:09:31.239 |
2014-11-28 14:09:31.239 | Traceback (most recent call last):
2014-11-28 14:09:31.239 | File "/home/jenkins/workspace/gate-oslo.messaging-python33/tests/notify/test_listener.py", line 344, in test_two_pools_three_listener
2014-11-28 14:09:31.239 | self.assertNotEqual(0, endpoint2.info.call_count)
2014-11-28 14:09:31.240 | File "/home/jenkins/workspace/gate-oslo.messaging-python33/.tox/py33/lib/python3.3/site-packages/unittest2/case.py", line 842, in assertNotEqual
2014-11-28 14:09:31.240 | raise self.failureException(msg)
2014-11-28 14:09:31.240 | AssertionError: 0 == 0
2014-11-28 14:09:31.240 |
2014-11-28 14:09:31.240 | Traceback (most recent call last):
2014-11-28 14:09:31.240 | testtools.testresult.real._StringException: Empty attachments:
2014-11-28 14:09:31.240 | stderr
2014-11-28 14:09:31.240 | stdout
2014-11-28 14:09:31.240 |
2014-11-28 14:09:31.240 | Traceback (most recent call last):
2014-11-28 14:09:31.240 | File "/home/jenkins/workspace/gate-oslo.messaging-python33/tests/notify/test_listener.py", line 344, in test_two_pools_three_listener
2014-11-28 14:09:31.240 | self.assertNotEqual(0, endpoint2.info.call_count)
2014-11-28 14:09:31.241 | File "/home/jenkins/workspace/gate-oslo.messaging-python33/.tox/py33/lib/python3.3/site-packages/unittest2/case.py", line 842, in assertNotEqual
2014-11-28 14:09:31.241 | raise self.failureException(msg)
2014-11-28 14:09:31.241 | AssertionError: 0 == 0
2014-11-28 14:09:31.241 | Ran 1745 tests in 21.359s
2014-11-28 14:09:31.241 | FAILED (id=0, failures=1, skips=75)
2014-11-28 14:09:31.241 | error: testr failed (1)
2014-11-28 14:09:31.286 | ERROR: InvocationError: '/home/jenkins/workspace/gate-oslo.messaging-python33/.tox/py33/bin/python setup.py testr --slowest --testr-args='
2014-11-28 14:09:31.287 | ___________________________________ summary ____________________________________
2014-11-28 14:09:31.287 | ERROR: py33: commands failed
2014-11-28 14:09:31.299 | + result=1
2014-11-28 14:09:31.299 | + echo 'Begin pip freeze output from test virtualenv:'
2014-11-28 14:09:31.299 | Begin pip freeze output from test virtualenv:
2014-11-28 14:09:31.299 | + echo ======================================================================

Cheers

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

Fix proposed to branch: master
Review: https://review.openstack.org/137803

Changed in oslo.messaging:
assignee: nobody → Mehdi Abaakouk (sileht)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on oslo.messaging (master)

Change abandoned by Mehdi Abaakouk (<email address hidden>) on branch: master
Review: https://review.openstack.org/137803

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

Fix proposed to branch: master
Review: https://review.openstack.org/137816

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/137816
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=c8e02e989dea3eeae98fea6b970249f4fe2562c6
Submitter: Jenkins
Branch: master

commit c8e02e989dea3eeae98fea6b970249f4fe2562c6
Author: Mehdi Abaakouk <email address hidden>
Date: Fri Nov 28 15:54:33 2014 +0100

    Dispath messages in all listeners in a pool

    This change ensures that we have messages in each listener of
    a pool.

    Change-Id: I2bbb830760b7f9c271e6cebe2e3852e2a5a19722
    Closes-bug: #1397338

Changed in oslo.messaging:
status: In Progress → Fix Committed
Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
status: Fix Committed → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

Fix proposed to branch: master
Review: https://review.openstack.org/137891

Changed in oslo.messaging:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/137891
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=30a5b12eb4cbf71711da376f90e2383eae4cdae1
Submitter: Jenkins
Branch: master

commit 30a5b12eb4cbf71711da376f90e2383eae4cdae1
Author: Mehdi Abaakouk <email address hidden>
Date: Sat Nov 29 10:04:48 2014 +0100

    Wait for expected messages in listener pool test

    In the listener pool test, we must wait that all expected messages
    have been receive before stopping the listener.

    Closes bug: #1397338

    Change-Id: I5e4b39b54e3b99c014f5f9c77926108b90f94192

Changed in oslo.messaging:
status: In Progress → Fix Committed
Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
milestone: none → 1.5.0
status: Fix Committed → Fix Released
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.