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: 1474
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #1474
[Michal Skrivanek] lagofy: introspect the running environment for UUID
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:
basic-suite-master.test-scenarios.test_004_basic_sanity.test_live_incremental_backup_vm2
Error Message:
AssertionError: False != True after 600 seconds
Stack Trace:
engine_api = <ovirtsdk4.Connection object at 0x7fed2b61ad68>
get_vm_service_for_vm = <function get_vm_service_for_vm.<locals>.service_for at
0x7fed2928a9d8>
@order_by(_TEST_LIST)
def test_live_incremental_backup_vm2(engine_api, get_vm_service_for_vm):
vm2_service = _verify_vm_state(
engine_api.system_service(), VM2_NAME, types.VmStatus.UP
)
vm2_backups_service = vm2_service.backups_service()
backup.perform_incremental_vm_backup(
engine_api, vm2_backups_service, DISK2_NAME,
"live_vm_backup"
)
basic-suite-master/test-scenarios/test_004_basic_sanity.py:1178:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ost_utils/ost_utils/storage_utils/backup.py:81: in perform_incremental_vm_backup
correlation_id="full_" + correlation_id,
ost_utils/ost_utils/storage_utils/backup.py:50: in perform_vm_backup
allowed_exceptions=[sdk4.NotFoundError],
ost_utils/ost_utils/assertions.py:105: in assert_true_within_long
assert_equals_within_long(func, True, allowed_exceptions)
ost_utils/ost_utils/assertions.py:88: in assert_equals_within_long
func, value, LONG_TIMEOUT, allowed_exceptions=allowed_exceptions
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
func = <function perform_vm_backup.<locals>.<lambda> at 0x7fed28fd2620>
value = True, timeout = 600
allowed_exceptions = [<class 'ovirtsdk4.NotFoundError'>], initial_wait = 0
error_message = 'False != True after 600 seconds'
def assert_equals_within(
func,
value,
timeout,
allowed_exceptions=None,
initial_wait=10,
error_message=None,
):
allowed_exceptions = allowed_exceptions or []
res = '<no-result-obtained>'
with _EggTimer(timeout) as timer:
while not timer.elapsed():
try:
res = func()
if res == value:
return
except Exception as exc:
if _instance_of_any(exc, allowed_exceptions):
time.sleep(3)
continue
LOGGER.exception("Unhandled exception in %s", func)
raise
if initial_wait == 0:
time.sleep(3)
else:
time.sleep(initial_wait)
initial_wait = 0
try:
if error_message is None:
error_message = '%s != %s after %s seconds' % (res, value,
timeout)
raise AssertionError(error_message)
E
AssertionError: False != True after 600 seconds
ost_utils/ost_utils/assertions.py:63: AssertionError