Master tempest job fails on test_delete_server.DeleteServersAdminTestJSON

Bug #1807245 reported by Serhii Rusin on 2018-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Unassigned

Bug Description

This happens for master branch in tempest-full-py3 job, test case tempest.api.compute.admin.test_delete_server.DeleteServersAdminTestJSON

http://logs.openstack.org/67/622967/1/check/tempest-full-py3/399318c/testr_results.html.gz

In the log you can find this:

Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/api/compute/admin/test_delete_server.py", line 34, in test_delete_server_while_in_error_state
    server = self.create_test_server(wait_until='ACTIVE')
  File "/opt/stack/tempest/tempest/api/compute/base.py", line 246, in create_test_server
    **kwargs)
  File "/opt/stack/tempest/tempest/common/compute.py", line 256, in create_test_server
    server['id'])
  File "/opt/stack/tempest/.tox/tempest/lib/python3.5/site-packages/oslo_utils/excutils.py", line 220, in __exit__
    self.force_reraise()
  File "/opt/stack/tempest/.tox/tempest/lib/python3.5/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/tempest/.tox/tempest/lib/python3.5/site-packages/six.py", line 693, in reraise
    raise value
  File "/opt/stack/tempest/tempest/common/compute.py", line 227, in create_test_server
    clients.servers_client, server['id'], wait_until)
  File "/opt/stack/tempest/tempest/common/waiters.py", line 65, in wait_for_server_status
    body = client.show_server(server_id)['server']
  File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 139, in show_server
    resp, body = self.get("servers/%s" % server_id)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 295, in get
    return self.request('GET', url, extra_headers, headers)
  File "/opt/stack/tempest/tempest/lib/services/compute/base_compute_client.py", line 48, in request
    method, url, extra_headers, headers, body, chunked)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 676, in request
    self._error_checker(resp, resp_body)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 853, in _error_checker
    message=message)
tempest.lib.exceptions.ServerFault: Got server fault

More detailed information can be found here:
http://logs.openstack.org/67/622967/1/check/tempest-full-py3/399318c/job-output.txt.gz:

2018-12-05 19:21:40.635958 | controller | {3} tempest.api.compute.admin.test_delete_server.DeleteServersAdminTestJSON.test_delete_server_while_in_error_state [118.004479s] ... FAILED

...

2018-12-05 19:21:40,622 29670 INFO [tempest.lib.common.rest_client] Request (DeleteServersAdminTestJSON:test_delete_server_while_in_error_state): 404 GET https://198.72.124.36/compute/v2.1/servers/4589e4e4-5dbf-4942-bde4-f4ef8e5a3dbd 0.177s'

2018-12-05 19:21:40.712387 | controller | b" Response - Headers: {'x-openstack-request-id': 'req-9c774d26-99da-456b-9ee6-78de1f2900dd', 'content-length': '111', 'content-location': 'https://198.72.124.36/compute/v2.1/servers/4589e4e4-5dbf-4942-bde4-f4ef8e5a3dbd', 'server': 'Apache/2.4.18 (Ubuntu)', 'date': 'Wed, 05 Dec 2018 19:21:40 GMT', 'x-compute-request-id': 'req-9c774d26-99da-456b-9ee6-78de1f2900dd', 'content-type': 'application/json; charset=UTF-8', 'status': '404', 'openstack-api-version': 'compute 2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'connection': 'close', 'x-openstack-nova-api-version': '2.1'}"

2018-12-05 19:21:40.712641 | controller | b' Body: b\'{"itemNotFound": {"code": 404, "message": "Instance 4589e4e4-5dbf-4942-bde4-f4ef8e5a3dbd could not be found."}}\''

It seems like for some reason test server has not been created.

Since I can't pass this test, I'm opening this bug.

tags: added: testing
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers