Running tests randomly hang
Bug #1409899 reported by
Victor Stinner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
High
|
Victor Stinner |
Bug Description
Hi,
When running tests with the master branch of Oslo Messaging, I randomly get hang. I'm using "tox -e py27", or "testr run" in the virtualenv.
According to Mehdi, it's an issue with qpid and eventlet monkey patch. In short, eventlet monkey patching must be enabled before the qpid module is loaded. Currently, depending on the execution order of tests, eventlet monkey patching may be enabled before or after importing the qpid module.
Monkey patching is enabled in two places:
oslo/messaging/
tests/drivers/
Changed in oslo.messaging: | |
assignee: | nobody → Victor Stinner (victor-stinner) |
status: | New → In Progress |
Changed in oslo.messaging: | |
importance: | Undecided → High |
Changed in oslo.messaging: | |
milestone: | none → 1.6.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/146574 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=bc8675afb06 7c517cbe5ee1129 aad080282bd7c4
Committed: https:/
Submitter: Jenkins
Branch: master
commit bc8675afb067c51 7cbe5ee1129aad0 80282bd7c4
Author: Victor Stinner <email address hidden>
Date: Mon Jan 12 16:58:32 2015 +0000
fix qpid test issue with eventlet monkey patching
Tests now ensure that eventlet monkey patching is enabled before
importing the qpid module, otherwise qpid will hang.
Currently, qpid randomly hangs, depending on the order of the Python
module import, which probably depends on the local file modification
time.
Closes-Bug: #1409899 55fcc095d22adbf abcfa001da7
Change-Id: I516c580faef04f