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: 1350
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #1350
[Michal Skrivanek] lagofy: generalize IP handling for IPv4 and IPv6
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:
basic-suite-master.test-scenarios.test_004_basic_sanity.test_cold_incremental_backup_vm2
Error Message:
ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is
"[Cannot backup VM: Disk is locked. Please try again later.]". HTTP response
code is 409.
Stack Trace:
engine_api = <ovirtsdk4.Connection object at 0x7f23207b0080>
get_vm_service_for_vm = <function get_vm_service_for_vm.<locals>.service_for at
0x7f231e4aa7b8>
@order_by(_TEST_LIST)
def test_cold_incremental_backup_vm2(engine_api, get_vm_service_for_vm):
_verify_vm_state(engine_api.system_service(), VM2_NAME, types.VmStatus.DOWN)
vm2_backups_service = get_vm_service_for_vm(VM2_NAME).backups_service()
backup.perform_incremental_vm_backup(
engine_api, vm2_backups_service, DISK2_NAME,
"cold_vm_backup")
basic-suite-master/test-scenarios/test_004_basic_sanity.py:1045:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ost_utils/ost_utils/storage_utils/backup.py:75: in perform_incremental_vm_backup
correlation_id="incremental_" + correlation_id)
ost_utils/ost_utils/storage_utils/backup.py:34: in perform_vm_backup
), query={'correlation_id': correlation_id}
/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py:34139: in add
return self._internal_add(backup, headers, query, wait)
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:232: in _internal_add
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:229: 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 0x7f231e57af98>
detail = <ovirtsdk4.types.Fault object at 0x7f231e404438>
@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 backup VM: Disk is locked.
Please try again later.]". HTTP response code is 409.
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:118: Error