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: 188
Build Status: Still Failing
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #185
[Galit] Remove basic-suite-4.2 suite
Changes for Build #186
[Galit] Remove basic-suite-4.2 suite
Changes for Build #187
[Galit] Remove basic-suite-4.2 suite
Changes for Build #188
[Marcin Sobczyk] basic: Verify glance template creation before tearing down the engine
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:
basic-suite-master.test-scenarios.004_basic_sanity_pytest.test_live_storage_migration
Error Message:
AssertionError: False != True after 600 seconds
Stack Trace:
api_v4 = <ovirtsdk4.Connection object at 0x7faeda411390>
@order_by(_TEST_LIST)
def test_live_storage_migration(api_v4):
engine = api_v4.system_service()
disk_service = test_utils.get_disk_service(engine, DISK0_NAME)
correlation_id = 'live_storage_migration'
disk_service.move(
async=False,
filter=False,
storage_domain=types.StorageDomain(
name=SD_ISCSI_NAME
),
query={'correlation_id': correlation_id}
)
testlib.assert_true_within_long(lambda: test_utils.all_jobs_finished(engine,
correlation_id))
# Assert that the disk is on the correct storage domain,
# its status is OK and the snapshot created for the migration
# has been merged
testlib.assert_true_within_long(
lambda: api_v4.follow_link(disk_service.get().storage_domains[0]).name ==
SD_ISCSI_NAME
)
vm0_snapshots_service = test_utils.get_vm_snapshots_service(engine, VM0_NAME)
testlib.assert_true_within_long(
lambda: len(vm0_snapshots_service.list()) == 1
)
../basic-suite-master/test-scenarios/004_basic_sanity_pytest.py:576:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:286: in assert_true_within_long
assert_equals_within_long(func, True, allowed_exceptions)
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:273: in assert_equals_within_long
func, value, LONG_TIMEOUT, allowed_exceptions=allowed_exceptions
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
func = <function <lambda> at 0x7faed807cb18>, value = True, timeout = 600
allowed_exceptions = [], initial_wait = 0
def assert_equals_within(
func, value, timeout, allowed_exceptions=None, initial_wait=10
):
allowed_exceptions = allowed_exceptions or []
with utils.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:
raise AssertionError(
'%s != %s after %s seconds' % (res, value,
timeout)
)
E AssertionError: False != True after 600 seconds
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:252: AssertionError