test_policy_subscriptions sometimes fails.

Bug #1381044 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Medium
Tim Hinrichs

Bug Description

ft1.119: congress.tests.test_congress.TestCongress.test_policy_subscriptions_StringException: Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-congress-python27/congress/tests/test_congress.py", line 166, in test_policy_subscriptions
    self.check_subscriptions(engine, [('neutron', 'networks')])
  File "/home/jenkins/workspace/gate-congress-python27/congress/tests/test_congress.py", line 63, in check_subscriptions
    deepsix.name))
  File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
    raise self.failureException(msg)
AssertionError: Subscription check for engine failed

http://logs.openstack.org/45/127045/6/gate/gate-congress-python27/d8366e7/testr_results.html.gz

Tim Hinrichs (thinrichs)
Changed in congress:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Tim Hinrichs (thinrichs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (master)

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

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

Reviewed: https://review.openstack.org/131850
Committed: https://git.openstack.org/cgit/stackforge/congress/commit/?id=16aeeee27151e4e0e5b4283a3f48725ffafc1f31
Submitter: Jenkins
Branch: master

commit 16aeeee27151e4e0e5b4283a3f48725ffafc1f31
Author: Tim Hinrichs <email address hidden>
Date: Tue Oct 28 09:45:29 2014 -0700

    Make nondeterministic tests more robust

    Previously, we were testing the nondeterministic message
    bus DSE by publishing messages and sleeping for a second
    before proceeding with the test. On slow machines, a second
    was not always enough time and produced failures in Jenkins.

    This change uses the 'retrying' package to wait until
    a condition becomes true. And because dse now uses
    eventlet we can safely reduce the time we wait to
    much less than a second, thereby signficantly reducing
    the time we wait.

    Closes-bug: 1381917
    Closes-bug: 1381044
    Closes-bug: 1381043
    Change-Id: I2812351537cd330bd198c122d9804302781a10d3

Changed in congress:
status: In Progress → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → kilo-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.