test_policy_tables sometimes fails

Bug #1381917 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.114: congress.dse.tests.test_dse.TestDSE.test_policy_tables_StringException: Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-congress-python27/congress/dse/tests/test_dse.py", line 116, in test_policy_tables
    self.assertTrue(e, 'Policy insert 1')
  File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
    raise self.failureException(msg)
AssertionError: Policy insert 1

http://logs.openstack.org/45/127045/7/check/gate-congress-python27/56dba21/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.