TestServerWaiters.test_wait_for_server_status_extra_timeout races

Bug #1347122 reported by Matthew Treinish
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Matthew Treinish

Bug Description

test_wait_for_server_status_extra_timeout races. The timeout code is actually waiting, so depending on the load conditions the test can fail.

2014-07-19 10:01:23.459 | Traceback (most recent call last):
2014-07-19 10:01:23.459 | File "tempest/tests/test_waiters.py", line 156, in test_wait_for_server_status_extra_timeout
2014-07-19 10:01:23.459 | self.assertTrue(10 < (end_time - start_time) < 12)
2014-07-19 10:01:23.459 | File "/usr/lib/python2.7/unittest/case.py", line 420, in assertTrue
2014-07-19 10:01:23.459 | raise self.failureException(msg)
2014-07-19 10:01:23.460 | AssertionError: False is not true

Revision history for this message
Matthew Treinish (treinish) wrote :

Reviewed: https://review.openstack.org/108800
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=a6b0a2f1290a8c9343869558f1fe7ed860f76899
Submitter: Jenkins
Branch: master

commit a6b0a2f1290a8c9343869558f1fe7ed860f76899
Author: Matthew Treinish <email address hidden>
Date: Tue Jul 22 18:39:13 2014 +0000

    Revert "Add tests for wait_for_server_status"

    This unit test class added several race conditions to the unit tests as well as
    added a dependency on having a valid tempest config file. At this point instead
    of trying to fix all of these issues I'm pushing a revert in the short term and
    long-term we can just fix things and re-push these tests.

    This reverts commit ae7c9ac4aac20a2832fe1beeaac0a688c6accbd9.

    Change-Id: If6026611f3938be0716ce95491a8ee60a53e8c12
    Closes-Bug: #1347096

** Changed in: tempest
       Status: In Progress => Fix Released

Changed in tempest:
status: In Progress → 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.