Kombu tests occasionally hang

Bug #974411 reported by Aaron Lee
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Davanum Srinivas (DIMS)

Bug Description

Occasionally the tests will hang while running test_iterconsume_errors_will_reconnect in test_kombu. I've only seen this issue on OSX or VMs running under OSX, so I consider this minor for now.

Revision history for this message
Bernhard M. Wiedemann (ubuntubmw) wrote :

I found that this always happens with kombu>=1.2.1
9979ea0ac9cc4fd1c6339140b264e781e923d2be is first bad commit on git://github.com/ask/kombu.git

To reproduce I did
python nova/testing/runner.py -w . nova/tests/rpc/test_kombu.py:RpcKombuTestCase.test_iterconsume_errors_will_reconnect

Revision history for this message
Russell Bryant (russellb) wrote :

From the mailing list, it looked like Ask was going to look at this. I'm going to mark this as incomplete until we know whether it's a problem in nova or kombu.

Changed in nova:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Yun Mao (yunmao) wrote :

I have the same problem -- Using ubuntu precise.

Revision history for this message
Bernhard M. Wiedemann (ubuntubmw) wrote :

got this via mail from Ask:

I think I understand why this is failing now, and have decided
to remove the auto_delete support from virtual transports,
as I believe that it is prone to race conditions. The only
way this could be implemented properly is if it is able
to know how many actual consumers there are of the queue
before it can delete it.

I will be releasing a new kombu bugfix release shortly.

Thierry Carrez (ttx)
Changed in nova:
assignee: nobody → Ask Solem (asksol)
status: Incomplete → In Progress
Revision history for this message
Ask Solem (asksol) wrote :

The fix was released with Kombu 2.1.8

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

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

Changed in nova:
assignee: Ask Solem (asksol) → Eugene Kirpichov (ekirpichov)
Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like you're not working on that anymore. Please set back to InProgress and reassign to you if you're working on proposing a change for merging.

Changed in nova:
assignee: Eugene Kirpichov (ekirpichov) → nobody
status: In Progress → Confirmed
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

nova is already unpinned from 1.0.4

dims@dims-laptop:~/openstack/nova$ grep -e anyjson -e kombu tools/pip-requires
anyjson>=0.2.4
kombu>=1.0.4

oslo has a pending review to switch to the same

https://review.openstack.org/#/c/18942/

So i don't think this bug is valid any more

Changed in nova:
assignee: nobody → Davanum Srinivas (dims-v)
Changed in nova:
status: Confirmed → Invalid
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.