impl_zmq test setUp and tearDown is broken

Bug #1096223 reported by Erica Windisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
Undecided
Erica Windisch
Grizzly
Fix Released
Undecided
Erica Windisch

Bug Description

The ZeroMQ rpc tests race against themselves causing some tests to fail.

Following a prior patch to improve the tearDown of the in-test zmq receiver, a race condition was introduced whereby TCP and Unix sockets may not close before new sockets are created with the same ports / filenames.

The prior patch was 887e9e169cd81dec7d7c01ce508e15d4e4fdd99e

Changed in oslo:
assignee: nobody → Eric Windisch (ewindisch)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (master)

Reviewed: https://review.openstack.org/18882
Committed: http://github.com/openstack/oslo-incubator/commit/bd1e5a3350305cd6554ba3b0d537d670bf6b4a75
Submitter: Jenkins
Branch: master

commit bd1e5a3350305cd6554ba3b0d537d670bf6b4a75
Author: Eric Windisch <email address hidden>
Date: Thu Jan 3 10:53:52 2013 -0500

    Address test_zmq setup/teardown races

    Each test now consumes a new port number (9500+),
    and socket directory based on an auto-incrementing
    global counter (TESTCNT).

    Also makes minor cleanup to test receiver setup logic.

    fixes bug 1096223

    Change-Id: Ie6a88c535c81f2fc12b97d32c2674a6184325d2a

Changed in oslo:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in oslo:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
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.