# 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_ethernet_nm.yml ************************************************ 10 plays in /WORKDIR/git-tft-testsav11of3r/tests/tests_ethernet_nm.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/tests_ethernet_nm.yml:6 Monday 17 June 2024 14:52:49 +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-tft-testsav11of3r/tests/tests_ethernet_nm.yml:9 Monday 17 June 2024 14:52:50 +0000 (0:00:00.649) 0:00:00.661 *********** included: /WORKDIR/git-tft-testsav11of3r/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-testsav11of3r/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:52:50 +0000 (0:00:00.010) 0:00:00.672 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:19 Monday 17 June 2024 14:52:50 +0000 (0:00:00.307) 0:00:00.980 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:24 Monday 17 June 2024 14:52:50 +0000 (0:00:00.260) 0:00:01.240 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:28 Monday 17 June 2024 14:52:50 +0000 (0:00:00.020) 0:00:01.260 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:53 Monday 17 June 2024 14:52:50 +0000 (0:00:00.018) 0:00:01.279 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:52:50 +0000 (0:00:00.030) 0:00:01.310 *********** 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-tft-testsav11of3r/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:52:51 +0000 (0:00:00.225) 0:00:01.535 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:52:51 +0000 (0:00:00.011) 0:00:01.547 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:52:51 +0000 (0:00:00.010) 0:00:01.557 *********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.224595", "end": "2024-06-17 10:52:51.471846", "rc": 0, "start": "2024-06-17 10:52:51.247251" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:52:51 +0000 (0:00:00.400) 0:00:01.958 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tests_ethernet_nm.yml:11 Monday 17 June 2024 14:52:51 +0000 (0:00:00.009) 0:00:01.968 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for showing the network provider] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:3 Monday 17 June 2024 14:52:51 +0000 (0:00:00.009) 0:00:01.977 *********** ok: [sut] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:6 Monday 17 June 2024 14:52:51 +0000 (0:00:00.439) 0:00:02.416 *********** ok: [sut] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:9 Monday 17 June 2024 14:52:51 +0000 (0:00:00.009) 0:00:02.425 *********** ok: [sut] => { "network_provider": "nm" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:13 Monday 17 June 2024 14:52:51 +0000 (0:00:00.011) 0:00:02.436 *********** ok: [sut] META: ran handlers TASK [Set type=veth and interface=lsr27] *************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:20 Monday 17 June 2024 14:52:52 +0000 (0:00:00.443) 0:00:02.880 *********** ok: [sut] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:24 Monday 17 June 2024 14:52:52 +0000 (0:00:00.011) 0:00:02.892 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:52:52 +0000 (0:00:00.011) 0:00:02.903 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:52:52 +0000 (0:00:00.011) 0:00:02.915 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002770", "end": "2024-06-17 10:52:52.605012", "rc": 0, "start": "2024-06-17 10:52:52.602242" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:52:52 +0000 (0:00:00.173) 0:00:03.089 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:52:52 +0000 (0:00:00.011) 0:00:03.101 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:26 Monday 17 June 2024 14:52:52 +0000 (0:00:00.009) 0:00:03.110 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:52:52 +0000 (0:00:00.015) 0:00:03.125 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:52:52 +0000 (0:00:00.009) 0:00:03.134 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:52:52 +0000 (0:00:00.009) 0:00:03.143 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:52:52 +0000 (0:00:00.012) 0:00:03.156 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:52:52 +0000 (0:00:00.011) 0:00:03.168 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002907", "end": "2024-06-17 10:52:52.858325", "rc": 0, "start": "2024-06-17 10:52:52.855418" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:52:52 +0000 (0:00:00.176) 0:00:03.344 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:52:52 +0000 (0:00:00.011) 0:00:03.356 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:52:52 +0000 (0:00:00.010) 0:00:03.366 *********** FAILED - RETRYING: Install iproute (6 retries left). FAILED - RETRYING: Install iproute (5 retries left). FAILED - RETRYING: Install iproute (4 retries left). FAILED - RETRYING: Install iproute (3 retries left). FAILED - RETRYING: Install iproute (2 retries left). FAILED - RETRYING: 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_nm.retry PLAY RECAP ********************************************************************* sut : ok=25 changed=0 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0 Monday 17 June 2024 14:53:58 +0000 (0:01:05.326) 0:01:08.692 *********** =============================================================================== Install iproute -------------------------------------------------------- 65.33s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.65s /WORKDIR/git-tft-testsav11of3r/tests/tests_ethernet_nm.yml:6 ------------------ Gathering Facts --------------------------------------------------------- 0.44s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:13 ---------- Gathering Facts --------------------------------------------------------- 0.44s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:3 ----------- Enable EPEL 8 ----------------------------------------------------------- 0.40s /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:35 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.31s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:3 ---------------- Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:19 --------------- Create EPEL 8 ----------------------------------------------------------- 0.23s /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:8 ------------------ Gather current interface info ------------------------------------------- 0.18s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:53 --------------- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:24 --------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:28 --------------- Include the task 'manage_test_interface.yml' ---------------------------- 0.02s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:26 ---------- Include the task 'show_interfaces.yml' ---------------------------------- 0.01s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/manage_test_interface.yml:13 Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:24 ----------------- Set current_interfaces -------------------------------------------------- 0.01s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:9 Include the task 'get_current_interfaces.yml' --------------------------- 0.01s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/show_interfaces.yml:3 ---- Set current_interfaces -------------------------------------------------- 0.01s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:9 Include the task 'show_interfaces.yml' ---------------------------------- 0.01s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_ethernet.yml:24 ---------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---