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: 371
Build Status: Failure
Triggered By: Started by user Parth Dhanjal
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #371
[Milan Zamazal] basic: Disable smartcard temporarily
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: basic-suite-master.test-scenarios.002_bootstrap_pytest.test_verify_add_hosts
Error Message:
RuntimeError: 1 hosts failed installation: lago-basic-suite-master-host-0: install_failed
Stack Trace:
engine_api = <ovirtsdk4.Connection object at 0x7f1d8c97ddd0>
@order_by(_TEST_LIST)
def test_verify_add_hosts(engine_api):
hosts_service = engine_api.system_service().hosts_service()
hosts_status = hosts_service.list(search='datacenter={}'.format(DC_NAME))
total_hosts = len(hosts_status)
dump_hosts = _host_status_to_print(hosts_service, hosts_status)
LOGGER.debug('Host status, verify_add_hosts:\n {}'.format(dump_hosts))
testlib.assert_true_within(
lambda: _single_host_up(hosts_service, total_hosts),
timeout=constants.ADD_HOST_TIMEOUT
)
../basic-suite-master/test-scenarios/002_bootstrap_pytest.py:467:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:278: in assert_true_within
assert_equals_within(func, True, timeout, allowed_exceptions)
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:234: in assert_equals_within
res = func()
../basic-suite-master/test-scenarios/002_bootstrap_pytest.py:466: in <lambda>
lambda: _single_host_up(hosts_service, total_hosts),
../basic-suite-master/test-scenarios/002_bootstrap_pytest.py:238: in _single_host_up
_check_problematic_hosts(hosts_service)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hosts_service = <ovirtsdk4.services.HostsService object at 0x7f1d8c99e0d0>
def _check_problematic_hosts(hosts_service):
problematic_hosts = hosts_service.list(search='datacenter={} AND status !=
installing and status != initializing and status != up'.format(DC_NAME))
if len(problematic_hosts):
dump_hosts = '%s hosts failed installation:\n' %
len(problematic_hosts)
for host in problematic_hosts:
host_service = hosts_service.host_service(host.id)
dump_hosts += '%s: %s\n' % (host.name, host_service.get().status)
raise RuntimeError(dump_hosts)
E
RuntimeError: 1 hosts failed installation:
E lago-basic-suite-master-host-0: install_failed
../basic-suite-master/test-scenarios/002_bootstrap_pytest.py:247: RuntimeError