Comment 6 for bug 1009793

Revision history for this message
David Ripton (dripton) wrote :

test_zmq.py fails 100% reliably for me, but it fails differently on Ubuntu 12.04 and Fedora 17.

On Ubuntu, I get 18 successes and 2 failures (RpcZmqBaseTopicTestCase test_fanout_success and RpcZmqDirectTopicTestCase test_fanout_success).

On Fedora, 3 successes and 17 failures. With most of the failures of the "could not open socket because it's already open" variety.

My first hypothesis, after seeing that the code was basically sane, was that it's eventlet's fault. (Because eventlet does spooky monkeypatching of core Python libraries that mean you have to question all your assumptions.) Fedora has eventlet 0.9.17, versus Ubuntu's 0.9.16. I used "pip install --upgrade eventlet" on my Ubuntu box to upgrade its eventlet to 0.9.17, and got 17 errors.

So I suspect something changed between eventlet 0.9.16 and 0.9.17 that's bad for this code. I don't know exactly what yet.