Tempest test_create_image_from_stopped_server & test_create_delete_image fail to create image

Bug #1974477 reported by Konstantinos Kaskavelis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
New
Undecided
Unassigned

Bug Description

In the below testrun, we notice three tempest test failing, two of them due to the following reason:

tempest.api.compute.images.test_images.ImagesTestJSON.test_create_image_from_stopped_server
fail 417.340
d24775b8-e56f-4ee4-b60c-c31706212049

Traceback (most recent call last):
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/api/compute/base.py", line 372, in create_image_from_server
    waiters.wait_for_image_status(client, image_id, wait_until)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/common/waiters.py", line 167, in wait_for_image_status
    image = show_image(image_id)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/services/compute/images_client.py", line 75, in show_image
    resp, body = self.get("images/%s" % image_id)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/common/rest_client.py", line 314, in get
    return self.request('GET', url, extra_headers, headers)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/services/compute/base_compute_client.py", line 48, in request
    method, url, extra_headers, headers, body, chunked)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/common/rest_client.py", line 703, in request
    self._error_checker(resp, resp_body)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/common/rest_client.py", line 809, in _error_checker
    raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {'code': 404, 'message': 'Image not found.'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/api/compute/images/test_images.py", line 90, in test_create_image_from_stopped_server
    wait_for_server=False)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/api/compute/base.py", line 387, in create_image_from_server
    image_id=image_id)
tempest.exceptions.SnapshotNotFoundException: Server snapshot image f44c857c-3363-47b5-a70c-4c2769699e82 not found.

tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON.test_create_delete_image
fail 347.024
d24775b8-e56f-4ee4-b60c-c31706212049

Traceback (most recent call last):
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/api/compute/base.py", line 372, in create_image_from_server
    waiters.wait_for_image_status(client, image_id, wait_until)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/common/waiters.py", line 167, in wait_for_image_status
    image = show_image(image_id)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/services/compute/images_client.py", line 75, in show_image
    resp, body = self.get("images/%s" % image_id)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/common/rest_client.py", line 314, in get
    return self.request('GET', url, extra_headers, headers)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/services/compute/base_compute_client.py", line 48, in request
    method, url, extra_headers, headers, body, chunked)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/common/rest_client.py", line 703, in request
    self._error_checker(resp, resp_body)
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/lib/common/rest_client.py", line 809, in _error_checker
    raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {'code': 404, 'message': 'Image not found.'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/api/compute/images/test_images_oneserver.py", line 71, in test_create_delete_image
    wait_until='ACTIVE')
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/api/compute/base.py", line 387, in create_image_from_server
    image_id=image_id)
tempest.exceptions.SnapshotNotFoundException: Server snapshot image 6315e70f-c78b-4410-954e-199d8dd988f0 not found.

And the third one with:

tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume
fail 672.591
d24775b8-e56f-4ee4-b60c-c31706212049

Traceback (most recent call last):
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/api/compute/volumes/test_attach_volume.py", line 106, in test_attach_detach_volume
    'ACTIVE')
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-a57035eb-1208-4313-a59a-313668d20b74/repo/tempest/common/waiters.py", line 96, in wait_for_server_status
    raise lib_exc.TimeoutException(message)
tempest.lib.exceptions.TimeoutException: Request timed out
Details: (AttachVolumeTestJSON:test_attach_detach_volume) Server 028afc3e-6a6e-4190-aa35-c2555aa665c3 failed to reach ACTIVE status and task state "None" within the required time (600 s). Current status: SHUTOFF. Current task state: None.

Test run:

https://solutions.qa.canonical.com/testruns/testRun/f8ed8b64-31d7-4211-b9ad-c917d9b29799

Logs:

https://oil-jenkins.canonical.com/artifacts/f8ed8b64-31d7-4211-b9ad-c917d9b29799/index.html

Rally report:

https://oil-jenkins.canonical.com/artifacts/f8ed8b64-31d7-4211-b9ad-c917d9b29799/generated/generated/openstack/tempest_result.html

Tags: cdo-tempest
tags: added: cdo-tempest
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.