← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254772] Re: tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML setUpClass times-out on attaching volume

 

Looked this over with sdague, we're thinking the problem is how
test_server_rescue is doing two volume creates in the setUpClass method
and then when it tears down, it doesn't wait for the volumes to be
deleted, it just moves on.  When you have tests running in parallel,
this could cause cinder to backup and then we get racy failures on
volume creation.

Also, out of the 7 test cases, only two of them use the volumes, and
really those are isolated, so you only need to create one volume for the
entire test class and that's only in two of the seven test cases, and
then we can do that in the test cases themselves and cleanup with an
addCleanup call inline.

** No longer affects: nova

** No longer affects: cinder

** Changed in: tempest
       Status: Invalid => Triaged

** Changed in: tempest
     Assignee: (unassigned) => Matt Riedemann (mriedem)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1254772

Title:
  tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML
  setUpClass times-out on attaching volume

Status in Tempest:
  Triaged

Bug description:
  2013-11-25 15:42:45.769 | ======================================================================
  2013-11-25 15:42:45.770 | FAIL: setUpClass (tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML)
  2013-11-25 15:42:45.770 | setUpClass (tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML)
  2013-11-25 15:42:45.770 | ----------------------------------------------------------------------
  2013-11-25 15:42:45.770 | _StringException: Traceback (most recent call last):
  2013-11-25 15:42:45.770 |   File "tempest/api/compute/servers/test_server_rescue.py", line 51, in setUpClass
  2013-11-25 15:42:45.770 |     cls.volume_to_attach['id'], 'available')
  2013-11-25 15:42:45.771 |   File "tempest/services/compute/xml/volumes_extensions_client.py", line 140, in wait_for_volume_status
  2013-11-25 15:42:45.771 |     raise exceptions.TimeoutException(message)
  2013-11-25 15:42:45.771 | TimeoutException: Request timed out
  2013-11-25 15:42:45.771 | Details: Volume test_attach failed to reach available status within the required time (196 s).
  2013-11-25 15:42:45.771 | 

  
  http://logs.openstack.org/77/56577/9/check/check-tempest-devstack-vm-postgres-full/f5fe3ff/console.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/tempest/+bug/1254772/+subscriptions