# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_route_device_initscripts.yml *********************************** 2 plays in /WORKDIR/git-ci_fix3e_jl5rm/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-ci_fix3e_jl5rm/tests/tests_route_device_initscripts.yml:5 Tuesday 23 January 2024 19:35:36 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tests_route_device_initscripts.yml:8 Tuesday 23 January 2024 19:35:37 +0000 (0:00:00.595) 0:00:00.607 ******* included: /WORKDIR/git-ci_fix3e_jl5rm/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-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:3 Tuesday 23 January 2024 19:35:37 +0000 (0:00:00.010) 0:00:00.618 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:19 Tuesday 23 January 2024 19:35:37 +0000 (0:00:00.325) 0:00:00.943 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:24 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.273) 0:00:01.216 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:28 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.019) 0:00:01.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:53 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.017) 0:00:01.253 ******* included: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:8 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.029) 0:00:01.283 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:24 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.249) 0:00:01.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:30 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.017) 0:00:01.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:35 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.012) 0:00:01.563 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.324423", "end": "2024-01-23 19:35:38.904812", "rc": 0, "start": "2024-01-23 19:35:38.580389" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:40 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.529) 0:00:02.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/tests_route_device_initscripts.yml:10 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.009) 0:00:02.102 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tests_route_device.yml:3 Tuesday 23 January 2024 19:35:38 +0000 (0:00:00.010) 0:00:02.112 ******* ok: [sut] META: ran handlers TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tests_route_device.yml:11 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.476) 0:00:02.589 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tests_route_device.yml:15 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.011) 0:00:02.600 ******* included: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.011) 0:00:02.612 ******* included: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.011) 0:00:02.624 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004072", "end": "2024-01-23 19:35:39.639117", "rc": 0, "start": "2024-01-23 19:35:39.635045" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.204) 0:00:02.828 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.019) 0:00:02.848 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tests_route_device.yml:17 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.012) 0:00:02.860 ******* included: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.016) 0:00:02.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.017) 0:00:02.894 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.010) 0:00:02.905 ******* included: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.014) 0:00:02.919 ******* included: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.013) 0:00:02.932 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004114", "end": "2024-01-23 19:35:39.943506", "rc": 0, "start": "2024-01-23 19:35:39.939392" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.197) 0:00:03.130 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.011) 0:00:03.142 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 23 January 2024 19:35:39 +0000 (0:00:00.010) 0:00:03.153 ******* 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 Tuesday 23 January 2024 19:35:41 +0000 (0:00:01.115) 0:00:04.269 ******* =============================================================================== Install iproute --------------------------------------------------------- 1.12s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-ci_fix3e_jl5rm/tests/tests_route_device_initscripts.yml:5 -------- Enable EPEL 8 ----------------------------------------------------------- 0.53s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:35 -------------------- Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tests_route_device.yml:3 ---------- Gather the minimum subset of ansible_facts required by the network role test --- 0.33s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:3 ------------------- Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:19 ------------------ Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:8 --------------------- Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:53 ------------------ Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:24 ------------------ Set current_interfaces -------------------------------------------------- 0.02s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/get_current_interfaces.yml:9 Ensure state in ["present", "absent"] ----------------------------------- 0.02s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/manage_test_interface.yml:3 - Install yum-utils package ----------------------------------------------- 0.02s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:24 -------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/el_repo_setup.yml:28 ------------------ Manage test interface --------------------------------------------------- 0.02s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tests_route_device.yml:17 --------- Include the task 'show_interfaces.yml' ---------------------------------- 0.01s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/manage_test_interface.yml:13 Include the task 'get_current_interfaces.yml' --------------------------- 0.01s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/show_interfaces.yml:3 ------- Enable EPEL 7 ----------------------------------------------------------- 0.01s /WORKDIR/git-ci_fix3e_jl5rm/tests/tasks/enable_epel.yml:30 -------------------- Show current_interfaces ------------------------------------------------- 0.01s /WORKDIR/git-ci_fix3e_jl5rm/tests/playbooks/tasks/show_interfaces.yml:5 ------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---