Project:
https://jenkins.ovirt.org/job/ovirt-system-tests_compat-4.3-suite-master/
Build:
https://jenkins.ovirt.org/job/ovirt-system-tests_compat-4.3-suite-master/...
Build Number: 544
Build Status: Still Failing
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #535
[Michal Skrivanek] fix using ost-images without lagofy
Changes for Build #536
[Michal Skrivanek] fix using ost-images without lagofy
Changes for Build #537
[Michal Skrivanek] fix using ost-images without lagofy
Changes for Build #538
[Michal Skrivanek] add a log of used images and their ovirt-engine and vdsm
Changes for Build #539
[Michal Skrivanek] add a log of used images and their ovirt-engine and vdsm
Changes for Build #540
[Michal Skrivanek] add a log of used images and their ovirt-engine and vdsm
Changes for Build #541
[jenkins CI] Auto create ovirt-4.3
Changes for Build #542
[jenkins CI] Auto create ovirt-4.3
Changes for Build #543
[Galit Rosenthal] For he master:Chg ssh to host
Changes for Build #544
[Martin Necas] Ansible: fix collection path and use sed to rename
[Ehud Yonasi] poll: remove metrics job.
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: basic-suite-master.test-scenarios.004_basic_sanity_pytest.test_ha_recovery
Error Message:
AssertionError: False != True after 600 seconds
Stack Trace:
prefix = <ovirtlago.prefix.OvirtPrefix object at 0x7fb5cb07df90>
@order_by(_TEST_LIST)
def test_ha_recovery(prefix):
engine = prefix.virt_env.engine_vm().get_api_v4().system_service()
with test_utils.TestEvent(engine, [119, 9602, 506]):
# VM_DOWN_ERROR event(119)
# HA_VM_FAILED event event(9602)
# VDS_INITIATED_RUN_VM event(506)
vm_host = _vm_host(prefix, VM2_NAME)
pid = vm_host.ssh(['pgrep', '-f', 'qemu.*guest=vm2'])
vm_host.ssh(['kill', '-KILL',
pid.out.decode('utf-8')])
vm_service = test_utils.get_vm_service(engine, VM2_NAME)
testlib.assert_true_within_long(
lambda:
vm_service.get().status ==
types.VmStatus.UP
)
../basic-suite-master/test-scenarios/004_basic_sanity_pytest.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/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 0x7fb5c8069398>, 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