← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1046870] Re: test_negative_servers in tempest is disabled because of nova bugs

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-rc1

-- 
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/1046870

Title:
  test_negative_servers in tempest is disabled because of nova bugs

Status in OpenStack Compute (Nova):
  Fix Released
Status in Tempest:
  Fix Released

Bug description:
  Recently all tempest runs have been failing with some selection of
  errors in test_servers_negative.py and test_images.py. The n-cpu log
  is loaded with errors and stacktraces. Here is a sample of the most
  recent case but there is some flakiness and not all builds show
  exactly the same set of failures:
  http://logs.openstack.org/11936/13/check/gate-tempest-devstack-
  vm/10571/

  Here is some output from my local run:

  ======================================================================
  ERROR: Reboot a deleted server
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/tests/compute/test_servers_negative.py", line 127, in test_reboot_deleted_server
      self.client.wait_for_server_termination(self.server_id)
    File "/opt/stack/tempest/tempest/services/nova/json/servers_client.py", line 167, in wait_for_server_termination
      raise exceptions.BuildErrorException
  BuildErrorException: Server %(server_id)s failed to build and is in ERROR status

  ======================================================================
  ERROR: Rebuild a deleted server
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/tests/compute/test_servers_negative.py", line 144, in test_rebuild_deleted_server
      self.client.wait_for_server_termination(self.server_id)
    File "/opt/stack/tempest/tempest/services/nova/json/servers_client.py", line 167, in wait_for_server_termination
      raise exceptions.BuildErrorException
  BuildErrorException: Server %(server_id)s failed to build and is in ERROR status

  ======================================================================
  ERROR: Return error when creating an image of a server that is building
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/tests/compute/test_images.py", line 380, in tearDown
      ImagesTestBase.tearDown(self)
    File "/opt/stack/tempest/tempest/tests/compute/test_images.py", line 37, in tearDown
      self.servers_client.wait_for_server_termination(server['id'])
    File "/opt/stack/tempest/tempest/services/nova/json/servers_client.py", line 167, in wait_for_server_termination
      raise exceptions.BuildErrorException
  BuildErrorException: Server %(server_id)s failed to build and is in ERROR status
  Details: Server %(server_id)s failed to build and is in ERROR status
  -------------------- >> begin captured logging << --------------------
  tempest.common.rest_client: ERROR: Request URL: http://172.18.0.156:8774/v2/8e694b8a45df44c18fb54aabdeb48c71/servers/01defe3f-1aed-419c-8b02-43ece401a73b/action
  tempest.common.rest_client: ERROR: Request Body: {"createImage": {"name": "test-snap-56810686560"}}
  tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 06 Sep 2012 14:31:56 GMT', 'status': '409', 'content-length': '111', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-ba860a75-c914-4611-87e0-105c53ddf2a6'}
  tempest.common.rest_client: ERROR: Response Body: {u'conflictingRequest': {u'message': u"Cannot 'createImage' while instance is in vm_state building", u'code': 409}}
  --------------------- >> end captured logging << ---------------------

  ======================================================================
  ERROR: Return error when creating an image of a server that is building
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/tests/compute/test_images.py", line 406, in tearDown
      ImagesTestBase.tearDown(self)
    File "/opt/stack/tempest/tempest/tests/compute/test_images.py", line 37, in tearDown
      self.servers_client.wait_for_server_termination(server['id'])
    File "/opt/stack/tempest/tempest/services/nova/json/servers_client.py", line 167, in wait_for_server_termination
      raise exceptions.BuildErrorException
  BuildErrorException: Server %(server_id)s failed to build and is in ERROR status
  Details: Server %(server_id)s failed to build and is in ERROR status
  -------------------- >> begin captured logging << --------------------
  tempest.common.rest_client: ERROR: Request URL: http://172.18.0.156:8774/v2/6d20fdf0dac54e0c96f52c5032aa7cdf/servers/18dacb06-d135-40a4-98a2-c75211a55fac/action
  tempest.common.rest_client: ERROR: Request Body: {"createImage": {"name": "test-snap-99444707830"}}
  tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 06 Sep 2012 14:34:58 GMT', 'status': '409', 'content-length': '111', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-d130e4ad-6c90-416b-8624-571ca2e6f9ab'}
  tempest.common.rest_client: ERROR: Response Body: {u'conflictingRequest': {u'message': u"Cannot 'createImage' while instance is in vm_state building", u'code': 409}}
  --------------------- >> end captured logging << ---------------------

  -------

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