sporadic failure of : tests.drivers.test_impl_rabbit.TestRabbitTransportURL.test_transport_url(none)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
Undecided
|
Mehdi Abaakouk |
Bug Description
Hi,
Sometime tests fail with:
2014-11-28 14:08:07.158 | FAIL: tests.drivers.
2014-11-28 14:08:07.158 | tags: worker-6
2014-11-28 14:08:07.158 | -------
2014-11-28 14:08:07.158 | Traceback (most recent call last):
2014-11-28 14:08:07.158 | File "/home/
2014-11-28 14:08:07.158 | return func(*args, **keywargs)
2014-11-28 14:08:07.158 | File "/home/
2014-11-28 14:08:07.158 | self.assertEqua
2014-11-28 14:08:07.158 | File "/home/
2014-11-28 14:08:07.158 | self.assertThat
2014-11-28 14:08:07.158 | File "/home/
2014-11-28 14:08:07.159 | raise mismatch_error
2014-11-28 14:08:07.159 | MismatchError: ['amqp:
2014-11-28 14:08:07.159 | Traceback (most recent call last):
2014-11-28 14:08:07.159 | _StringException: Empty attachments:
2014-11-28 14:08:07.159 | stderr
2014-11-28 14:08:07.159 | stdout
2014-11-28 14:08:07.159 |
2014-11-28 14:08:07.159 | Traceback (most recent call last):
2014-11-28 14:08:07.159 | File "/home/
2014-11-28 14:08:07.159 | return func(*args, **keywargs)
2014-11-28 14:08:07.159 | File "/home/
2014-11-28 14:08:07.160 | self.assertEqua
2014-11-28 14:08:07.160 | File "/home/
2014-11-28 14:08:07.160 | self.assertThat
2014-11-28 14:08:07.160 | File "/home/
2014-11-28 14:08:07.160 | raise mismatch_error
2014-11-28 14:08:07.160 | MismatchError: ['amqp:
2014-11-28 14:08:07.160 |
2014-11-28 14:08:07.160 | Traceback (most recent call last):
2014-11-28 14:08:07.160 | _StringException: Empty attachments:
2014-11-28 14:08:07.160 | stderr
2014-11-28 14:08:07.160 | stdout
2014-11-28 14:08:07.160 |
2014-11-28 14:08:25.590 | Traceback (most recent call last):
2014-11-28 14:08:25.590 | File "/home/
2014-11-28 14:08:25.590 | return func(*args, **keywargs)
2014-11-28 14:08:25.590 | File "/home/
2014-11-28 14:08:25.590 | self.assertEqua
2014-11-28 14:08:25.590 | File "/home/
2014-11-28 14:08:25.590 | self.assertThat
2014-11-28 14:08:25.590 | File "/home/
2014-11-28 14:08:25.590 | raise mismatch_error
2014-11-28 14:08:25.591 | MismatchError: ['amqp:
2014-11-28 14:08:25.591 | Ran 1753 tests in 21.073s
2014-11-28 14:08:25.591 | FAILED (id=0, failures=1, skips=39)
2014-11-28 14:08:25.591 | error: testr failed (1)
2014-11-28 14:08:25.644 | ERROR: InvocationError: '/home/
Cheers,
Changed in oslo.messaging: | |
assignee: | nobody → Mehdi Abaakouk (sileht) |
Changed in oslo.messaging: | |
status: | New → In Progress |
Changed in oslo.messaging: | |
milestone: | none → 1.5.0 |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/138029 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=f3370da11a8 67bae287d7f549a 671811e8b399ef
Committed: https:/
Submitter: Jenkins
Branch: master
commit f3370da11a867ba e287d7f549a6718 11e8b399ef
Author: Mehdi Abaakouk <email address hidden>
Date: Mon Dec 1 11:11:05 2014 +0100
Don't share connection pool between driver object
Each driver instance must use it's own connection pool.
This removes the last global state of qpid and rabbitmq driver
Make the relation between classes more simple.
The previous behavior was not very safe, as explained in the bug report.
And also, this is a first step to replace this custom connection pool
handling by the kombu one.
Closes bug: #1397925
Partial bug: #1397339
Change-Id: Iecd2b39c76417d 9ac081d46810f72 eb6e38edfda