test_create_ebs_image_and_check_boot fails in gate on wrong volume status

Bug #1633434 reported by Ihar Hrachyshka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

traceback-1: {{{
Traceback (most recent call last):
  File "tempest/common/waiters.py", line 111, in wait_for_server_termination
    raise exceptions.BuildErrorException(server_id=server_id)
tempest.exceptions.BuildErrorException: Server b676e60a-609a-4155-bd51-3279c1f08a2d failed to build and is in ERROR status
}}}

traceback-2: {{{
Traceback (most recent call last):
  File "tempest/lib/common/utils/test_utils.py", line 84, in call_and_ignore_notfound_exc
    return func(*args, **kwargs)
  File "tempest/services/volume/base/base_volumes_client.py", line 89, in delete_volume
    resp, body = self.delete("volumes/%s" % volume_id)
  File "tempest/lib/common/rest_client.py", line 307, in delete
    return self.request('DELETE', url, extra_headers, headers, body)
  File "tempest/lib/common/rest_client.py", line 665, in request
    resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 768, in _error_checker
    raise exceptions.BadRequest(resp_body, resp=resp)
tempest.lib.exceptions.BadRequest: Bad request
Details: {u'message': u'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group or have snapshots.', u'code': 400}
}}}

Traceback (most recent call last):
  File "tempest/test.py", line 107, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "tempest/scenario/test_volume_boot_pattern.py", line 181, in test_create_ebs_image_and_check_boot
    self._delete_server(instance)
  File "tempest/scenario/test_volume_boot_pattern.py", line 98, in _delete_server
    waiters.wait_for_server_termination(self.servers_client, server['id'])
  File "tempest/common/waiters.py", line 111, in wait_for_server_termination
    raise exceptions.BuildErrorException(server_id=server_id)
tempest.exceptions.BuildErrorException: Server b676e60a-609a-4155-bd51-3279c1f08a2d failed to build and is in ERROR status

Example: http://logs.openstack.org/01/385901/1/check/gate-tempest-dsvm-neutron-dvr-ubuntu-xenial/177b772/logs/testr_results.html.gz

Seems like it plague the gate. I see 257 hits of message:"in test_create_ebs_image_and_check_boot" in last 7 days.

Tags: gate-failure
tags: added: gate-failure
Eric Harney (eharney)
Changed in cinder:
status: New → Invalid
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.