# 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-tests9fpdjqw4/.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_helpers_and_asserts.yml **************************************** 1 plays in /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_helpers_and_asserts.yml:3 Thursday 20 June 2024 08:57:16 +0000 (0:00:00.033) 0:00:00.033 ********* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_helpers_and_asserts.yml:6 Thursday 20 June 2024 08:57:16 +0000 (0:00:00.822) 0:00:00.855 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/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-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:3 Thursday 20 June 2024 08:57:16 +0000 (0:00:00.011) 0:00:00.867 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:17 Thursday 20 June 2024 08:57:17 +0000 (0:00:00.353) 0:00:01.220 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:22 Thursday 20 June 2024 08:57:17 +0000 (0:00:00.239) 0:00:01.459 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:26 Thursday 20 June 2024 08:57:17 +0000 (0:00:00.013) 0:00:01.473 ********* 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-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:51 Thursday 20 June 2024 08:57:17 +0000 (0:00:00.007) 0:00:01.480 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:8 Thursday 20 June 2024 08:57:17 +0000 (0:00:00.019) 0:00:01.500 ********* 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-tests9fpdjqw4/tests/tasks/enable_epel.yml:24 Thursday 20 June 2024 08:57:17 +0000 (0:00:00.244) 0:00:01.744 ********* 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-tests9fpdjqw4/tests/tasks/enable_epel.yml:30 Thursday 20 June 2024 08:57:17 +0000 (0:00:00.008) 0:00:01.753 ********* 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-tests9fpdjqw4/tests/tasks/enable_epel.yml:35 Thursday 20 June 2024 08:57:17 +0000 (0:00:00.008) 0:00:01.761 ********* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.247034", "end": "2024-06-20 04:57:19.241785", "rc": 0, "start": "2024-06-20 04:57:17.994751" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:40 Thursday 20 June 2024 08:57:19 +0000 (0:00:01.434) 0:00:03.195 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_helpers_and_asserts.yml:9 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.008) 0:00:03.204 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/create_and_remove_interface.yml:3 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.010) 0:00:03.215 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/show_interfaces.yml:3 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.009) 0:00:03.224 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml:3 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.008) 0:00:03.232 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002820", "end": "2024-06-20 04:57:19.465413", "rc": 0, "start": "2024-06-20 04:57:19.462593" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml:9 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.184) 0:00:03.417 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/show_interfaces.yml:5 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.009) 0:00:03.426 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/create_and_remove_interface.yml:5 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.008) 0:00:03.435 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/manage_test_interface.yml:3 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.013) 0:00:03.448 ********* 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-tests9fpdjqw4/tests/tasks/manage_test_interface.yml:8 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.007) 0:00:03.456 ********* 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-tests9fpdjqw4/tests/tasks/manage_test_interface.yml:13 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.007) 0:00:03.463 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/show_interfaces.yml:3 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.010) 0:00:03.473 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml:3 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.008) 0:00:03.482 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002840", "end": "2024-06-20 04:57:19.713227", "rc": 0, "start": "2024-06-20 04:57:19.710387" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml:9 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.182) 0:00:03.665 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/show_interfaces.yml:5 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.009) 0:00:03.674 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/manage_test_interface.yml:16 Thursday 20 June 2024 08:57:19 +0000 (0:00:00.008) 0:00:03.683 ********* 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_helpers_and_asserts.retry PLAY RECAP ********************************************************************* sut : ok=20 changed=0 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0 Thursday 20 June 2024 08:58:26 +0000 (0:01:06.863) 0:01:10.546 ********* =============================================================================== Install iproute -------------------------------------------------------- 66.86s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/manage_test_interface.yml:16 ------- Enable EPEL 8 ----------------------------------------------------------- 1.43s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:35 ----------------- Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_helpers_and_asserts.yml:3 ---------- Gather the minimum subset of ansible_facts required by the network role test --- 0.35s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:3 ---------------- Create EPEL 8 ----------------------------------------------------------- 0.24s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:8 ------------------ Check if system is ostree ----------------------------------------------- 0.24s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:17 --------------- Gather current interface info ------------------------------------------- 0.18s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml:3 ------- Gather current interface info ------------------------------------------- 0.18s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml:3 ------- Include the task 'enable_epel.yml' -------------------------------------- 0.02s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:51 --------------- Include the task 'manage_test_interface.yml' ---------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/create_and_remove_interface.yml:5 -- Set flag to indicate system is ostree ----------------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:22 --------------- Include the task 'el_repo_setup.yml' ------------------------------------ 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_helpers_and_asserts.yml:6 ---------- Test veth interface management ------------------------------------------ 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_helpers_and_asserts.yml:9 ---------- Include the task 'show_interfaces.yml' ---------------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/manage_test_interface.yml:13 ------- Set current_interfaces -------------------------------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml:9 ------- Set current_interfaces -------------------------------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/get_current_interfaces.yml:9 ------- Include the task 'show_interfaces.yml' ---------------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/create_and_remove_interface.yml:3 -- Include the task 'get_current_interfaces.yml' --------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/show_interfaces.yml:3 -------------- Enable EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:40 ----------------- Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:24 ----------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---