Master tempest job fails on test_delete_server.DeleteServersAdminTestJSON

Bug #1807245 reported by Serhii Rusin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
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: testing
tags: added: testing
Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

I don't see a recent reproduction of this bug in logstash[1]. The current failure visible there is coming from a single patch that was broken. I close this as Incomplete as it seems it does not happen any more. If you see this issue again please set the bug state back to New and link to logs for the new reproduction.

[1] http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22tempest.api.compute.admin.test_delete_server.DeleteServersAdminTestJSON.test_delete_server_while_in_error_state%5C%22%20AND%20message%3A%5C%22FAILED%5C%22

Changed in nova:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
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.