py33 jobs fail sometimes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
High
|
Mehdi Abaakouk |
Bug Description
Hi,
Sometimes the py33 jobs fail with:
2015-01-14 16:12:06.182 | Traceback (most recent call last):
2015-01-14 16:12:06.182 | testtools.
2015-01-14 16:12:06.182 | stderr
2015-01-14 16:12:06.182 | stdout
2015-01-14 16:12:06.182 |
2015-01-14 16:12:06.182 | Traceback (most recent call last):
2015-01-14 16:12:06.182 | File "/home/
2015-01-14 16:12:06.182 | self.assertLess
2015-01-14 16:12:06.182 | File "/home/
2015-01-14 16:12:06.183 | self.fail(
2015-01-14 16:12:06.183 | File "/home/
2015-01-14 16:12:06.183 | raise self.failureExc
2015-01-14 16:12:06.183 | AssertionError: 25 not less than or equal to 24
2015-01-14 16:12:06.183 |
2015-01-14 16:12:06.183 | Traceback (most recent call last):
2015-01-14 16:12:06.183 | testtools.
2015-01-14 16:12:06.183 | stderr
2015-01-14 16:12:06.183 | stdout
2015-01-14 16:12:06.183 |
2015-01-14 16:12:06.183 | Traceback (most recent call last):
2015-01-14 16:12:06.183 | File "/home/
2015-01-14 16:12:06.184 | self.assertLess
2015-01-14 16:12:06.184 | File "/home/
2015-01-14 16:12:06.184 | self.fail(
2015-01-14 16:12:06.184 | File "/home/
2015-01-14 16:12:06.184 | raise self.failureExc
2015-01-14 16:12:06.184 | AssertionError: 25 not less than or equal to 24
2015-01-14 16:12:06.184 | Ran 3534 tests in 20.419s
2015-01-14 16:12:06.184 | FAILED (id=0, failures=1, skips=189)
2015-01-14 16:12:06.184 | error: testr failed (1)
2015-01-14 16:12:06.237 | ERROR: InvocationError: '/home/
see: http://
Cheers,
Changed in oslo.messaging: | |
assignee: | nobody → Mehdi Abaakouk (sileht) |
importance: | Undecided → High |
Changed in oslo.messaging: | |
status: | New → In Progress |
Changed in oslo.messaging: | |
milestone: | none → next-kilo |
Changed in oslo.messaging: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/145798 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=b888ee3ebf4 6b008dada1e825b 24badb7053d7e8
Committed: https:/
Submitter: Jenkins
Branch: master
commit b888ee3ebf46b00 8dada1e825b24ba db7053d7e8
Author: Mehdi Abaakouk <email address hidden>
Date: Thu Jan 8 14:26:45 2015 +0100
Fixes test_two_ pools_three_ listener
The Notification Listener Tracker class is not threadsafe,
so when a test stop an already stopped listener this one
can be restarted, due to concurrency access of the threads list and
concurrency execution of the start/stop/wait method of the notification
listener.
This result of a lockup of the test or a listener can continue to
got unepxected message.
This change fixes that by never stop the tread with the tracker callback
but only manually with the test.
This test also rename some 'Listener' to 'Server', to not mismatch
the driver listener from the notification listener.
Closes-bug: #1410902
Change-Id: I4777c7dd0ba71c 61850d36641e85f 33f9461e9c1