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: 598
Build Status: Still Failing
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #589
[Michal Skrivanek] pytest is needed for OST
Changes for Build #590
[hbraha] network: bond active slave test
Changes for Build #591
[hbraha] network: bond active slave test
[Evgheni Dereveanchin] Change logic for module metadata detection
Changes for Build #592
[Marcin Sobczyk] basic: Remove '000_check_repo_closure' test module
Changes for Build #593
[hbraha] network: fix BondingData constructor
Changes for Build #594
[Radoslaw Szwajkowski] UI test: Add PF4 selectors for Manage vGPU dialog
Changes for Build #595
[Radoslaw Szwajkowski] UI test: Add PF4 selectors for Manage vGPU dialog
Changes for Build #596
[Radoslaw Szwajkowski] UI test: Add PF4 selectors for Manage vGPU dialog
Changes for Build #597
[Radoslaw Szwajkowski] UI test: Add PF4 selectors for Manage vGPU dialog
Changes for Build #598
[Andrej Cernek] network: add second copy_host_network test
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: basic-suite-master.test-scenarios.004_basic_sanity.test_ha_recovery
Error Message:
AssertionError: False != True after 600 seconds
Stack Trace:
engine_api = <ovirtsdk4.Connection object at 0x7f97d8bb6f90>
get_ansible_host_for_vm = <function ansible_host_for at 0x7f97d8135668>
@order_by(_TEST_LIST)
def test_ha_recovery(engine_api, get_ansible_host_for_vm):
engine = engine_api.system_service()
with engine_utils.wait_for_event(engine, [119, 9602, 506]):
# VM_DOWN_ERROR event(119)
# HA_VM_FAILED event event(9602)
# VDS_INITIATED_RUN_VM event(506)
ansible_host = get_ansible_host_for_vm(VM2_NAME)
pid = ansible_host.shell('pgrep -f
qemu.*guest=vm2')['stdout'].strip()
ansible_host.shell('kill -KILL {}'.format(pid))
vm_service = test_utils.get_vm_service(engine, VM2_NAME)
assertions.assert_true_within_long(
lambda:
vm_service.get().status ==
types.VmStatus.UP
)
../basic-suite-master/test-scenarios/004_basic_sanity.py:825:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../ost_utils/ost_utils/assertions.py:97: in assert_true_within_long
assert_equals_within_long(func, True, allowed_exceptions)
../ost_utils/ost_utils/assertions.py:82: in assert_equals_within_long
func, value, LONG_TIMEOUT, allowed_exceptions=allowed_exceptions
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
func = <function <lambda> at 0x7f97d2d847d0>, value = True, timeout = 600
allowed_exceptions = [], 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 []
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:60: AssertionError