# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-route_typenmyk78xg/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_route_device_initscripts.yml *********************************** 2 plays in /WORKDIR/git-route_typenmyk78xg/tests/tests_route_device_initscripts.yml PLAY [Run playbook 'playbooks/tests_route_device.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/tests_route_device_initscripts.yml:5 Thursday 11 January 2024 02:28:00 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typenmyk78xg/tests/tests_route_device_initscripts.yml:8 Thursday 11 January 2024 02:28:00 +0000 (0:00:00.873) 0:00:00.885 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:28:01 +0000 (0:00:00.023) 0:00:00.909 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:17 Thursday 11 January 2024 02:28:01 +0000 (0:00:00.364) 0:00:01.273 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:22 Thursday 11 January 2024 02:28:01 +0000 (0:00:00.280) 0:00:01.554 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:26 Thursday 11 January 2024 02:28:01 +0000 (0:00:00.020) 0:00:01.575 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:51 Thursday 11 January 2024 02:28:01 +0000 (0:00:00.014) 0:00:01.589 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:28:01 +0000 (0:00:00.031) 0:00:01.621 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:28:02 +0000 (0:00:00.301) 0:00:01.923 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:28:02 +0000 (0:00:00.021) 0:00:01.944 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:28:02 +0000 (0:00:00.013) 0:00:01.957 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.249257", "end": "2024-01-11 02:28:02.506221", "rc": 0, "start": "2024-01-11 02:28:02.256964" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:28:02 +0000 (0:00:00.464) 0:00:02.422 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tests_route_device_initscripts.yml:10 Thursday 11 January 2024 02:28:02 +0000 (0:00:00.046) 0:00:02.468 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_route_device.yml:3 Thursday 11 January 2024 02:28:02 +0000 (0:00:00.097) 0:00:02.566 ****** ok: [sut] TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_route_device.yml:11 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.753) 0:00:03.320 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_route_device.yml:15 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.029) 0:00:03.349 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.034) 0:00:03.384 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.028) 0:00:03.413 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003437", "end": "2024-01-11 02:28:03.755120", "rc": 0, "start": "2024-01-11 02:28:03.751683" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.254) 0:00:03.667 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.034) 0:00:03.702 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_route_device.yml:17 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.062) 0:00:03.764 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.049) 0:00:03.814 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:28:03 +0000 (0:00:00.060) 0:00:03.874 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:28:04 +0000 (0:00:00.038) 0:00:03.913 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:28:04 +0000 (0:00:00.062) 0:00:03.976 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:28:04 +0000 (0:00:00.046) 0:00:04.022 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003390", "end": "2024-01-11 02:28:04.351593", "rc": 0, "start": "2024-01-11 02:28:04.348203" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:28:04 +0000 (0:00:00.246) 0:00:04.268 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:28:04 +0000 (0:00:00.075) 0:00:04.344 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:28:04 +0000 (0:00:00.047) 0:00:04.392 ****** fatal: [sut]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'epel': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=centos [Could not resolve host: mirrors.fedoraproject.org] to retry, use: --limit @/tmp/tests_route_device_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=22 changed=0 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0 Thursday 11 January 2024 02:28:05 +0000 (0:00:01.251) 0:00:05.643 ****** =============================================================================== Install iproute --------------------------------------------------------- 1.25s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-route_typenmyk78xg/tests/tests_route_device_initscripts.yml:5 ---- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_route_device.yml:3 ------ Enable EPEL 8 ----------------------------------------------------------- 0.46s /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:35 ---------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:3 --------------- Create EPEL 8 ----------------------------------------------------------- 0.30s /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:8 ----------------- Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:17 -------------- Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.25s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Set network provider to 'initscripts' ----------------------------------- 0.10s /WORKDIR/git-route_typenmyk78xg/tests/tests_route_device_initscripts.yml:10 --- Set current_interfaces -------------------------------------------------- 0.08s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Include the task 'show_interfaces.yml' ---------------------------------- 0.06s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml:13 Show current_interfaces ------------------------------------------------- 0.06s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 --- Ensure state in ["present", "absent"] ----------------------------------- 0.06s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml:3 Manage test interface --------------------------------------------------- 0.05s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_route_device.yml:17 ----- Show current_interfaces ------------------------------------------------- 0.05s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 --- Enable EPEL 6 ----------------------------------------------------------- 0.05s /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:40 ---------------- Include the task 'get_current_interfaces.yml' --------------------------- 0.05s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 --- Ensure type in ["dummy", "tap", "veth"] --------------------------------- 0.04s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/manage_test_interface.yml:8 Set current_interfaces -------------------------------------------------- 0.03s /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---