Console output was empty in test_get_console_output_server_id_in_shutoff_status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned | ||
tempest |
Confirmed
|
Critical
|
Ghanshyam Mann |
Bug Description
test_get_
is failing consistently in the nova-lvm job starting on July 24 with 132 failures in the last 3 days. https:/
Traceback (most recent call last):
File "/opt/stack/
self.
File "/opt/stack/
condition()
File "/opt/stack/
self.
File "/usr/lib/
raise self.failureExc
AssertionError: '' is not true : Console output was empty.
its not clear why this has started failing. it may be a regression or a latent race in the test that we are now failing.
def test_get_
"""Test getting console output for a server in SHUTOFF status
Should be able to GET the console output for a given server_id
in SHUTOFF status.
"""
# NOTE: SHUTOFF is irregular status. To avoid test instability,
# one server is created only for this test without using
# the server that was created in setUpClass.
server = self.create_
the test does not wait for the VM to be sshable so its possible that we are shutting off the VM before it is fully booted and no output has been written to the console.
this failure has happened on multiple providers but only in the nova-lvm job.
the console behavior is unrelated to the storage backend but the lvm job i belive is using
lvm on a loopback file so the storage performance is likely slower then raw/qcow.
so perhaps the boot is taking longer and no output is being written.
Seems to be a regression coming from the automatic rebase of https:/ /github. com/openstack/ tempest/ commit/ eea2c1cfac1e5d2 40cad4f8be68cff 7d72f220a8