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: 1287
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #1287
[Marcin Sobczyk] network: Add missing 'ansible_hosts' fixture
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:
basic-suite-master.test-scenarios.test_001_initialize_engine.test_initialize_engine
Error Message:
failed on setup with "ost_utils.ansible.module_mappers.AnsibleExecutionError: Error
running ansible: rc=2, stdout=lago-basic-suite-master-engine | FAILED! => {
"changed": false,
"elapsed": 120,
"msg": "timed out waiting for ping module test success: Failed to
connect to the host via ssh: ssh: connect to host 192.168.200.2 port 22: No route to
host"
}
lago-basic-suite-master-host-0 | FAILED! => {
"changed": false,
"elapsed": 120,
"msg": "timed out waiting for ping module test success: Failed to
connect to the host via ssh: ssh: connect to host 192.168.200.3 port 22: No route to
host"
}
lago-basic-suite-master-host-1 | FAILED! => {
"changed": false,
"elapsed": 120,
"msg": "timed out waiting for ping module test success: Failed to
connect to the host via ssh: ssh: connect to host 192.168.200.4 port 22: No route to
host"
}"
Stack Trace:
ansible_vms_to_deploy = <ost_utils.ansible.module_mappers.ModuleMapper object at
0x7f2fb1959278>
ansible_hosts = <ost_utils.ansible.module_mappers.ModuleMapper object at
0x7f2fb1959358>
deploy_scripts = {'lago-basic-suite-master-engine':
['$OST_REPO_ROOT/common/deploy-scripts/setup_sar_stat.sh',
'$OST_REPO_ROOT/common/d...t-1':
['$OST_REPO_ROOT/common/deploy-scripts/setup_sar_stat.sh',
'$OST_REPO_ROOT/common/deploy-scripts/setup_host.sh']}
working_dir =
'/home/jenkins/workspace/ovirt-system-tests_basic-suite-master_nightly/ovirt-system-tests/deployment-basic-suite-master'
request = <SubRequest 'deploy' for <Function test_initialize_engine>>
run_scripts = <function run_scripts.<locals>.do_run_scripts at
0x7f2fb191a6a8>
@pytest.fixture(scope="session", autouse=True)
def deploy(
ansible_vms_to_deploy,
ansible_hosts,
deploy_scripts,
working_dir,
request,
run_scripts,
):
if deployment_utils.is_deployed(working_dir):
LOGGER.info("Environment already deployed")
return
LOGGER.info("Waiting for SSH on the VMs")
ansible_vms_to_deploy.wait_for_connection(timeout=120)
ost_utils/ost_utils/pytest/fixtures/deployment.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ost_utils/ost_utils/ansible/module_mappers.py:110: in __call__
return _run_ansible_runner(self.config_builder)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config_builder = <ost_utils.ansible.config_builder.ConfigBuilder object at
0x7f2fb19595f8>
def _run_ansible_runner(config_builder):
runner = ansible_runner.Runner(config=config_builder.prepare())
LOGGER.debug(f'_run_ansible_runner: before run: {runner}')
runner.run()
LOGGER.debug(f'_run_ansible_runner: after run: {runner}')
if runner.status != 'successful':
raise AnsibleExecutionError(
rc=runner.rc,
stdout=runner.stdout.read()
)
E ost_utils.ansible.module_mappers.AnsibleExecutionError: Error running ansible:
rc=2, stdout=lago-basic-suite-master-engine | FAILED! => {
E "changed": false,
E "elapsed": 120,
E "msg": "timed out waiting for ping module test success:
Failed to connect to the host via ssh: ssh: connect to host 192.168.200.2 port 22: No
route to host"
E }
E lago-basic-suite-master-host-0 | FAILED! => {
E "changed": false,
E "elapsed": 120,
E "msg": "timed out waiting for ping module test success:
Failed to connect to the host via ssh: ssh: connect to host 192.168.200.3 port 22: No
route to host"
E }
E lago-basic-suite-master-host-1 | FAILED! => {
E "changed": false,
E "elapsed": 120,
E "msg": "timed out waiting for ping module test success:
Failed to connect to the host via ssh: ssh: connect to host 192.168.200.4 port 22: No
route to host"
E }
ost_utils/ost_utils/ansible/module_mappers.py:48: AnsibleExecutionError