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: 285
Build Status: Still Failing
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #277
[Marcin Sobczyk] ost_utils: ansible: Sort events by creation date
Changes for Build #278
[Michal Skrivanek] avoid ballooning crash in vm0 after memory hotplug
Changes for Build #279
[Michal Skrivanek] avoid ballooning crash in vm0 after memory hotplug
Changes for Build #280
[Michal Skrivanek] avoid ballooning crash in vm0 after memory hotplug
Changes for Build #281
[Michal Skrivanek] avoid ballooning crash in vm0 after memory hotplug
Changes for Build #282
[Michal Skrivanek] avoid ballooning crash in vm0 after memory hotplug
Changes for Build #283
[Michal Skrivanek] avoid ballooning crash in vm0 after memory hotplug
Changes for Build #284
[Michal Skrivanek] avoid ballooning crash in vm0 after memory hotplug
Changes for Build #285
[Michal Skrivanek] avoid ballooning crash in vm0 after memory hotplug
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: basic-suite-master.test-scenarios.004_basic_sanity_pytest.test_run_vms
Error Message:
AssertionError: False != True after 600 seconds
Stack Trace:
prefix = <ovirtlago.prefix.OvirtPrefix object at 0x7f4c1c735290>
@order_by(_TEST_LIST)
def test_run_vms(prefix):
engine = prefix.virt_env.engine_vm().get_api_v4().system_service()
vm_params = types.Vm(
initialization=types.Initialization(
user_name=VM_USER_NAME,
root_password=VM_PASSWORD
)
)
vm_params.initialization.host_name = BACKUP_VM_NAME
backup_vm_service = test_utils.get_vm_service(engine, BACKUP_VM_NAME)
backup_vm_service.start(use_cloud_init=True, vm=vm_params)
vm_params.initialization.host_name = VM2_NAME
vm2_service = test_utils.get_vm_service(engine, VM2_NAME)
vm2_service.start(use_cloud_init=True, vm=vm_params)
gw_ip = test_utils.get_management_net(prefix).gw()
# CirrOS cloud-init is different, networking doesn't work since it doesn't
support the format oVirt is using
vm_params.initialization.host_name = VM0_NAME # hostname seems to work, the others
not
vm_params.initialization.dns_search = 'lago.local'
vm_params.initialization.domain = 'lago.local'
vm_params.initialization.dns_servers = gw_ip
vm0_service = test_utils.get_vm_service(engine, VM0_NAME)
vm0_service.start(use_cloud_init=True, vm=vm_params)
for vm_name in [VM0_NAME, BACKUP_VM_NAME]:
_verify_vm_state(engine, vm_name, types.VmStatus.UP)
../basic-suite-master/test-scenarios/004_basic_sanity_pytest.py:752:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../basic-suite-master/test-scenarios/004_basic_sanity_pytest.py:170: in _verify_vm_state
lambda:
/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 0x7f4c1c5b4ed8>, 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