# 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_bridge_initscripts.yml ***************************************** 11 plays in /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_bridge_initscripts.yml:5 Thursday 20 June 2024 08:31:10 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_bridge_initscripts.yml:8 Thursday 20 June 2024 08:31:11 +0000 (0:00:00.832) 0:00:00.844 ********* 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:31:11 +0000 (0:00:00.010) 0:00:00.855 ********* 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:31:11 +0000 (0:00:00.337) 0:00:01.192 ********* 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:31:11 +0000 (0:00:00.241) 0:00:01.434 ********* 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:31:11 +0000 (0:00:00.014) 0:00:01.449 ********* 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:31:11 +0000 (0:00:00.008) 0:00:01.457 ********* 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:31:11 +0000 (0:00:00.020) 0:00:01.477 ********* 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:31:12 +0000 (0:00:00.242) 0:00:01.720 ********* 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:31:12 +0000 (0:00:00.008) 0:00:01.728 ********* 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:31:12 +0000 (0:00:00.007) 0:00:01.735 ********* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244129", "end": "2024-06-20 04:31:12.540717", "rc": 0, "start": "2024-06-20 04:31:12.296588" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:40 Thursday 20 June 2024 08:31:12 +0000 (0:00:00.430) 0:00:02.166 ********* 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-tests9fpdjqw4/tests/tests_bridge_initscripts.yml:10 Thursday 20 June 2024 08:31:12 +0000 (0:00:00.008) 0:00:02.174 ********* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bridge.yml:3 Thursday 20 June 2024 08:31:12 +0000 (0:00:00.013) 0:00:02.188 ********* ok: [sut] TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bridge.yml:9 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.601) 0:00:02.790 ********* ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bridge.yml:12 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.018) 0:00:02.808 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.017) 0:00:02.825 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.017) 0:00:02.843 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002747", "end": "2024-06-20 04:31:13.415877", "rc": 0, "start": "2024-06-20 04:31:13.413130" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.195) 0:00:03.038 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.018) 0:00:03.056 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bridge.yml:14 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.018) 0:00:03.075 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.019) 0:00:03.094 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.018) 0:00:03.112 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.268) 0:00:03.380 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bridge.yml:17 Thursday 20 June 2024 08:31:13 +0000 (0:00:00.026) 0:00:03.407 ********* ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 20 June 2024 08:31:14 +0000 (0:00:00.603) 0:00:04.010 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 20 June 2024 08:31:14 +0000 (0:00:00.022) 0:00:04.033 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 20 June 2024 08:31:14 +0000 (0:00:00.018) 0:00:04.051 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 20 June 2024 08:31:14 +0000 (0:00:00.018) 0:00:04.069 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 20 June 2024 08:31:14 +0000 (0:00:00.018) 0:00:04.088 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 20 June 2024 08:31:15 +0000 (0:00:01.497) 0:00:05.586 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 20 June 2024 08:31:17 +0000 (0:00:01.464) 0:00:07.050 ********* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 20 June 2024 08:31:17 +0000 (0:00:00.028) 0:00:07.079 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 20 June 2024 08:31:17 +0000 (0:00:00.027) 0:00:07.107 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 20 June 2024 08:31:17 +0000 (0:00:00.027) 0:00:07.134 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 20 June 2024 08:31:17 +0000 (0:00:00.034) 0:00:07.169 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 20 June 2024 08:31:17 +0000 (0:00:00.025) 0:00:07.194 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 20 June 2024 08:31:17 +0000 (0:00:00.032) 0:00:07.227 ********* FAILED - RETRYING: [sut]: Install packages (6 retries left). FAILED - RETRYING: [sut]: Install packages (5 retries left). FAILED - RETRYING: [sut]: Install packages (4 retries left). FAILED - RETRYING: [sut]: Install packages (3 retries left). FAILED - RETRYING: [sut]: Install packages (2 retries left). FAILED - RETRYING: [sut]: Install packages (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_bridge_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=25 changed=0 unreachable=0 failed=1 skipped=12 rescued=0 ignored=0 Thursday 20 June 2024 08:32:22 +0000 (0:01:05.343) 0:01:12.570 ********* =============================================================================== fedora.linux_system_roles.network : Install packages ------------------- 65.34s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_bridge_initscripts.yml:5 ----------- Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bridge.yml:17 ------------ Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bridge.yml:3 ------------- Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:35 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.34s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:3 ---------------- Get stat for interface LSR-TST-br31 ------------------------------------- 0.27s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/get_interface_stat.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.20s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces --- 0.03s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.03s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 fedora.linux_system_roles.network : Print network provider -------------- 0.03s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider --- 0.03s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 0.03s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Assert that the interface is absent - 'LSR-TST-br31' -------------------- 0.03s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/assert_device_absent.yml:5 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces --- 0.03s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 fedora.linux_system_roles.network : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---