# 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-weekly-cik6w59nzp/.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-weekly-cik6w59nzp/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-weekly-cik6w59nzp/tests/tests_route_device_initscripts.yml:4 Saturday 30 December 2023 13:59:11 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cik6w59nzp/tests/tests_route_device_initscripts.yml:8 Saturday 30 December 2023 13:59:12 +0000 (0:00:00.855) 0:00:00.872 ***** included: /WORKDIR/git-weekly-cik6w59nzp/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-weekly-cik6w59nzp/tests/tasks/el_repo_setup.yml:3 Saturday 30 December 2023 13:59:12 +0000 (0:00:00.011) 0:00:00.884 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/el_repo_setup.yml:17 Saturday 30 December 2023 13:59:12 +0000 (0:00:00.340) 0:00:01.224 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/el_repo_setup.yml:22 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.255) 0:00:01.480 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/el_repo_setup.yml:26 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.013) 0:00:01.493 ***** 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-weekly-cik6w59nzp/tests/tasks/el_repo_setup.yml:51 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.008) 0:00:01.502 ***** included: /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/enable_epel.yml:8 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.026) 0:00:01.529 ***** 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-weekly-cik6w59nzp/tests/tasks/enable_epel.yml:24 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.257) 0:00:01.786 ***** 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-weekly-cik6w59nzp/tests/tasks/enable_epel.yml:30 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.011) 0:00:01.797 ***** 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-weekly-cik6w59nzp/tests/tasks/enable_epel.yml:35 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.008) 0:00:01.806 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.252368", "end": "2023-12-30 13:59:13.948987", "rc": 0, "start": "2023-12-30 13:59:13.696619" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/enable_epel.yml:40 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.442) 0:00:02.249 ***** 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-weekly-cik6w59nzp/tests/tests_route_device_initscripts.yml:10 Saturday 30 December 2023 13:59:13 +0000 (0:00:00.012) 0:00:02.261 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tests_route_device.yml:3 Saturday 30 December 2023 13:59:14 +0000 (0:00:00.019) 0:00:02.280 ***** ok: [sut] TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tests_route_device.yml:11 Saturday 30 December 2023 13:59:14 +0000 (0:00:00.700) 0:00:02.981 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tests_route_device.yml:15 Saturday 30 December 2023 13:59:14 +0000 (0:00:00.042) 0:00:03.024 ***** included: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 30 December 2023 13:59:14 +0000 (0:00:00.040) 0:00:03.064 ***** included: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 December 2023 13:59:14 +0000 (0:00:00.037) 0:00:03.101 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003577", "end": "2023-12-30 13:59:15.021200", "rc": 0, "start": "2023-12-30 13:59:15.017623" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.221) 0:00:03.323 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.019) 0:00:03.343 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tests_route_device.yml:17 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.021) 0:00:03.364 ***** included: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.025) 0:00:03.389 ***** 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-weekly-cik6w59nzp/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.018) 0:00:03.408 ***** 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-weekly-cik6w59nzp/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.021) 0:00:03.429 ***** included: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.022) 0:00:03.452 ***** included: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.019) 0:00:03.472 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003563", "end": "2023-12-30 13:59:15.379548", "rc": 0, "start": "2023-12-30 13:59:15.375985" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.205) 0:00:03.678 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.021) 0:00:03.699 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 30 December 2023 13:59:15 +0000 (0:00:00.019) 0:00:03.719 ***** 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 Saturday 30 December 2023 13:59:16 +0000 (0:00:01.140) 0:00:04.859 ***** =============================================================================== Install iproute --------------------------------------------------------- 1.14s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-weekly-cik6w59nzp/tests/tests_route_device_initscripts.yml:4 ----- Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tests_route_device.yml:3 ------- Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/enable_epel.yml:35 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.34s /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/el_repo_setup.yml:3 ---------------- Create EPEL 8 ----------------------------------------------------------- 0.26s /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/enable_epel.yml:8 ------------------ Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/el_repo_setup.yml:17 --------------- Gather current interface info ------------------------------------------- 0.22s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml:3 Set type and interface0 ------------------------------------------------- 0.04s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tests_route_device.yml:11 ------ Show interfaces --------------------------------------------------------- 0.04s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tests_route_device.yml:15 ------ Include the task 'get_current_interfaces.yml' --------------------------- 0.04s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml:3 ---- Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-weekly-cik6w59nzp/tests/tasks/el_repo_setup.yml:51 --------------- Manage test interface --------------------------------------------------- 0.03s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tests_route_device.yml:17 ------ Include the task 'show_interfaces.yml' ---------------------------------- 0.02s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/manage_test_interface.yml:13 Show current_interfaces ------------------------------------------------- 0.02s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml:5 ---- Ensure type in ["dummy", "tap", "veth"] --------------------------------- 0.02s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/manage_test_interface.yml:8 Set current_interfaces -------------------------------------------------- 0.02s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/get_current_interfaces.yml:9 Include the task 'get_current_interfaces.yml' --------------------------- 0.02s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml:3 ---- Show current_interfaces ------------------------------------------------- 0.02s /WORKDIR/git-weekly-cik6w59nzp/tests/playbooks/tasks/show_interfaces.yml:5 ---- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---