Project:
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_nightly/
Build:
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_night...
Build Number: 784
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #784
[Lucia Jelinkova] UI test: fix selecting list entity
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:
basic-suite-master.test-scenarios.test_007_sd_reattach.test_detach_storage_domain
Error Message:
ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is
"[Cannot detach Storage. Related operation is currently in progress. Please try again
later.]". HTTP response code is 409.
Stack Trace:
engine_api = <ovirtsdk4.Connection object at 0x7f020c1f6748>
@order_by(_TEST_LIST)
def test_detach_storage_domain(engine_api):
engine = engine_api.system_service()
dc = test_utils.data_center_service(engine, DC_NAME)
test_utils.get_attached_storage_domain(
dc, SD_SECOND_NFS_NAME, service=True).remove()
../basic-suite-master/test-scenarios/test_007_sd_reattach.py:77:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py:3462: in remove
self._internal_remove(headers, query, wait)
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:271: in _internal_remove
return future.wait() if wait else future
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:55: in wait
return self._code(response)
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:268: in callback
self._check_fault(response)
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:132: in _check_fault
self._raise_error(response, body)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <ovirtsdk4.http.Response object at 0x7f020c213240>
detail = <ovirtsdk4.types.Fault object at 0x7f020c213518>
@staticmethod
def _raise_error(response, detail=None):
"""
Creates and raises an error containing the details of the given HTTP
response and fault.
This method is intended for internal use by other components of the
SDK. Refrain from using it directly, as backwards compatibility isn't
guaranteed.
"""
fault = detail if isinstance(detail, types.Fault) else None
msg = ''
if fault:
if fault.reason:
if msg:
msg += ' '
msg = msg + 'Fault reason is "%s".' % fault.reason
if fault.detail:
if msg:
msg += ' '
msg = msg + 'Fault detail is "%s".' % fault.detail
if response:
if response.code:
if msg:
msg += ' '
msg = msg + 'HTTP response code is %s.' % response.code
if response.message:
if msg:
msg += ' '
msg = msg + 'HTTP response message is "%s".' %
response.message
if isinstance(detail, six.string_types):
if msg:
msg += ' '
msg = msg + detail + '.'
class_ = Error
if response is not None:
if response.code in [401, 403]:
class_ = AuthError
elif response.code == 404:
class_ = NotFoundError
error = class_(msg)
error.code = response.code if response else None
error.fault = fault
raise error
E ovirtsdk4.Error: Fault reason is
"Operation Failed". Fault detail is "[Cannot detach Storage. Related
operation is currently in progress. Please try again later.]". HTTP response code is
409.
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:118: Error