Race condition in ConsoleOutputTest.test_get_console_output

Bug #1017932 reported by David Kranz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
High
David Kranz

Bug Description

This test waits for a server to become ACTIVE and immediatly asks for 10 lines of console output. It fails if 10 lines are not returned. This test consistently fails for me but succeeds if I make it sleep for a few seconds before requesting the console.
Fixing this by sleeping doesn not seem very robust. It should wait with timeout like waiting for a server state does.

Changed in tempest:
assignee: nobody → David Kranz (david-kranz)
status: New → In Progress
Jay Pipes (jaypipes)
Changed in tempest:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/8999
Committed: http://github.com/openstack/tempest/commit/cf0040ca02614dbc63905de9be18b4355d74dcbc
Submitter: Jenkins
Branch: master

commit cf0040ca02614dbc63905de9be18b4355d74dcbc
Author: David Kranz <email address hidden>
Date: Tue Jun 26 09:46:56 2012 -0400

    Add BaseComputeTest.wait_for and use it to fix bug 1017932.

    Change-Id: I3c197f098591f827200f333dc4efe3aa816ef8b1

Changed in tempest:
status: In Progress → Fix Committed
Jay Pipes (jaypipes)
Changed in tempest:
status: Fix Committed → Fix Released
Sean Dague (sdague)
Changed in tempest:
milestone: none → havana-3
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.