# 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-tft-testssaty988p/.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_ethernet_initscripts.yml *************************************** 10 plays in /WORKDIR/git-tft-testssaty988p/tests/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/tests_ethernet_initscripts.yml:5 Monday 17 June 2024 14:52:10 +0000 (0:00:00.016) 0:00:00.016 *********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testssaty988p/tests/tests_ethernet_initscripts.yml:8 Monday 17 June 2024 14:52:11 +0000 (0:00:00.894) 0:00:00.911 *********** included: /WORKDIR/git-tft-testssaty988p/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-tft-testssaty988p/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:52:11 +0000 (0:00:00.012) 0:00:00.923 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:17 Monday 17 June 2024 14:52:11 +0000 (0:00:00.334) 0:00:01.257 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:22 Monday 17 June 2024 14:52:11 +0000 (0:00:00.247) 0:00:01.505 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:26 Monday 17 June 2024 14:52:11 +0000 (0:00:00.016) 0:00:01.521 *********** 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-tft-testssaty988p/tests/tasks/el_repo_setup.yml:51 Monday 17 June 2024 14:52:11 +0000 (0:00:00.008) 0:00:01.530 *********** included: /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:52:11 +0000 (0:00:00.020) 0:00:01.551 *********** 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-tft-testssaty988p/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:52:12 +0000 (0:00:00.244) 0:00:01.795 *********** 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-tft-testssaty988p/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:52:12 +0000 (0:00:00.010) 0:00:01.806 *********** 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-tft-testssaty988p/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:52:12 +0000 (0:00:00.009) 0:00:01.815 *********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.238584", "end": "2024-06-17 10:52:13.612731", "rc": 0, "start": "2024-06-17 10:52:12.374147" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:52:13 +0000 (0:00:01.422) 0:00:03.238 *********** 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-tft-testssaty988p/tests/tests_ethernet_initscripts.yml:10 Monday 17 June 2024 14:52:13 +0000 (0:00:00.008) 0:00:03.246 *********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for showing the network provider] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:3 Monday 17 June 2024 14:52:13 +0000 (0:00:00.014) 0:00:03.261 *********** ok: [sut] TASK [Show inside ethernet tests] ********************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:6 Monday 17 June 2024 14:52:14 +0000 (0:00:00.603) 0:00:03.864 *********** ok: [sut] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:9 Monday 17 June 2024 14:52:14 +0000 (0:00:00.018) 0:00:03.882 *********** ok: [sut] => { "network_provider": "initscripts" } PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:13 Monday 17 June 2024 14:52:14 +0000 (0:00:00.023) 0:00:03.906 *********** ok: [sut] TASK [Set type=veth and interface=lsr27] *************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:20 Monday 17 June 2024 14:52:14 +0000 (0:00:00.606) 0:00:04.513 *********** ok: [sut] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:24 Monday 17 June 2024 14:52:14 +0000 (0:00:00.020) 0:00:04.534 *********** included: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:52:14 +0000 (0:00:00.017) 0:00:04.552 *********** included: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:52:14 +0000 (0:00:00.020) 0:00:04.572 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003052", "end": "2024-06-17 10:52:15.143758", "rc": 0, "start": "2024-06-17 10:52:15.140706" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:52:15 +0000 (0:00:00.195) 0:00:04.768 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:52:15 +0000 (0:00:00.018) 0:00:04.786 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:26 Monday 17 June 2024 14:52:15 +0000 (0:00:00.018) 0:00:04.804 *********** included: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:52:15 +0000 (0:00:00.021) 0:00:04.825 *********** 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-tft-testssaty988p/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:52:15 +0000 (0:00:00.015) 0:00:04.841 *********** 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-tft-testssaty988p/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:52:15 +0000 (0:00:00.017) 0:00:04.859 *********** included: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:52:15 +0000 (0:00:00.018) 0:00:04.878 *********** included: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:52:15 +0000 (0:00:00.018) 0:00:04.896 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004160", "end": "2024-06-17 10:52:16.464150", "rc": 0, "start": "2024-06-17 10:52:15.459990" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:52:16 +0000 (0:00:01.193) 0:00:06.089 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:52:16 +0000 (0:00:00.018) 0:00:06.108 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:52:16 +0000 (0:00:00.019) 0:00:06.127 *********** FAILED - RETRYING: [sut]: Install iproute (6 retries left). FAILED - RETRYING: [sut]: Install iproute (5 retries left). FAILED - RETRYING: [sut]: Install iproute (4 retries left). FAILED - RETRYING: [sut]: Install iproute (3 retries left). FAILED - RETRYING: [sut]: Install iproute (2 retries left). FAILED - RETRYING: [sut]: Install iproute (1 retries left). fatal: [sut]: FAILED! => { "attempts": 6, "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist to retry, use: --limit @/tmp/tests_ethernet_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=25 changed=0 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0 Monday 17 June 2024 14:53:21 +0000 (0:01:04.938) 0:01:11.065 *********** =============================================================================== Install iproute -------------------------------------------------------- 64.94s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 8 ----------------------------------------------------------- 1.42s /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:35 ----------------- Gather current interface info ------------------------------------------- 1.19s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-tft-testssaty988p/tests/tests_ethernet_initscripts.yml:5 --------- Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:13 ---------- Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:3 ----------- Gather the minimum subset of ansible_facts required by the network role test --- 0.33s /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:3 ---------------- Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:17 --------------- Create EPEL 8 ----------------------------------------------------------- 0.24s /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:8 ------------------ Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml:3 Show network_provider --------------------------------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:9 ----------- Include the task 'manage_test_interface.yml' ---------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:26 ---------- Set type=veth and interface=lsr27 --------------------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:20 ---------- Include the task 'enable_epel.yml' -------------------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:51 --------------- Include the task 'get_current_interfaces.yml' --------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/show_interfaces.yml:3 ---- Show current_interfaces ------------------------------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/show_interfaces.yml:5 ---- Include the task 'show_interfaces.yml' ---------------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/manage_test_interface.yml:13 Set current_interfaces -------------------------------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/get_current_interfaces.yml:9 Show inside ethernet tests ---------------------------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_ethernet.yml:6 ----------- Set current_interfaces -------------------------------------------------- 0.02s /WORKDIR/git-tft-testssaty988p/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. ---^---^---^---^---^---