# 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_bridge_initscripts.yml ***************************************** 11 plays in /WORKDIR/git-tft-testsav11of3r/tests/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/tests_bridge_initscripts.yml:5 Monday 17 June 2024 14:40:18 +0000 (0:00:00.016) 0:00:00.016 *********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testsav11of3r/tests/tests_bridge_initscripts.yml:8 Monday 17 June 2024 14:40:19 +0000 (0:00:00.670) 0:00:00.686 *********** 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:40:19 +0000 (0:00:00.019) 0:00:00.705 *********** 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:40:19 +0000 (0:00:00.340) 0:00:01.045 *********** 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:40:20 +0000 (0:00:00.275) 0:00:01.321 *********** 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:40:20 +0000 (0:00:00.027) 0:00:01.348 *********** 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:40:20 +0000 (0:00:00.039) 0:00:01.388 *********** 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:40:20 +0000 (0:00:00.061) 0:00:01.450 *********** 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:40:20 +0000 (0:00:00.257) 0:00:01.708 *********** 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:40:20 +0000 (0:00:00.014) 0:00:01.722 *********** 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:40:20 +0000 (0:00:00.012) 0:00:01.734 *********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.235679", "end": "2024-06-17 10:40:20.912549", "rc": 0, "start": "2024-06-17 10:40:20.676870" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:40:20 +0000 (0:00:00.444) 0:00:02.179 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/tests_bridge_initscripts.yml:10 Monday 17 June 2024 14:40:20 +0000 (0:00:00.016) 0:00:02.195 *********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_bridge.yml:3 Monday 17 June 2024 14:40:20 +0000 (0:00:00.025) 0:00:02.221 *********** ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_bridge.yml:9 Monday 17 June 2024 14:40:21 +0000 (0:00:00.460) 0:00:02.681 *********** ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_bridge.yml:12 Monday 17 June 2024 14:40:21 +0000 (0:00:00.013) 0:00:02.695 *********** 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:40:21 +0000 (0:00:00.013) 0:00:02.708 *********** 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:40:21 +0000 (0:00:00.015) 0:00:02.724 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002856", "end": "2024-06-17 10:40:21.663262", "rc": 0, "start": "2024-06-17 10:40:21.660406" } 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:40:21 +0000 (0:00:00.185) 0:00:02.909 *********** 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:40:21 +0000 (0:00:00.031) 0:00:02.940 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_bridge.yml:14 Monday 17 June 2024 14:40:21 +0000 (0:00:00.014) 0:00:02.954 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:40:21 +0000 (0:00:00.018) 0:00:02.973 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:40:21 +0000 (0:00:00.020) 0:00:02.993 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:40:21 +0000 (0:00:00.193) 0:00:03.187 *********** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_bridge.yml:17 Monday 17 June 2024 14:40:21 +0000 (0:00:00.023) 0:00:03.211 *********** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:40:22 +0000 (0:00:00.471) 0:00:03.682 *********** included: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:40:22 +0000 (0:00:00.016) 0:00:03.698 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:40:22 +0000 (0:00:00.014) 0:00:03.712 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:40:22 +0000 (0:00:00.014) 0:00:03.726 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:40:22 +0000 (0:00:00.012) 0:00:03.739 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:40:23 +0000 (0:00:01.426) 0:00:05.166 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:40:25 +0000 (0:00:01.457) 0:00:06.623 *********** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:40:25 +0000 (0:00:00.023) 0:00:06.647 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:40:25 +0000 (0:00:00.023) 0:00:06.671 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:40:25 +0000 (0:00:00.022) 0:00:06.693 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:40:25 +0000 (0:00:00.026) 0:00:06.720 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:40:25 +0000 (0:00:00.022) 0:00:06.742 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:40:25 +0000 (0:00:00.041) 0:00:06.784 *********** FAILED - RETRYING: Install packages (6 retries left). FAILED - RETRYING: Install packages (5 retries left). FAILED - RETRYING: Install packages (4 retries left). FAILED - RETRYING: Install packages (3 retries left). FAILED - RETRYING: Install packages (2 retries left). FAILED - RETRYING: 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 Monday 17 June 2024 14:41:30 +0000 (0:01:05.194) 0:01:11.979 *********** =============================================================================== linux-system-roles.network : Install packages -------------------------- 65.19s /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:77 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-tft-testsav11of3r/tests/tests_bridge_initscripts.yml:5 ----------- Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_bridge.yml:17 ------------ Gathering Facts --------------------------------------------------------- 0.46s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tests_bridge.yml:3 ------------- Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:35 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.34s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:3 ---------------- Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:19 --------------- Create EPEL 8 ----------------------------------------------------------- 0.26s /WORKDIR/git-tft-testsav11of3r/tests/tasks/enable_epel.yml:8 ------------------ Get stat for interface LSR-TST-br31 ------------------------------------- 0.19s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_interface_stat.yml:3 - Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.06s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:53 --------------- linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.04s /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:57 Fix CentOS6 Base repo --------------------------------------------------- 0.04s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:28 --------------- Set current_interfaces -------------------------------------------------- 0.03s /WORKDIR/git-tft-testsav11of3r/tests/playbooks/tasks/get_current_interfaces.yml:9 Set flag to indicate system is ostree ----------------------------------- 0.03s /WORKDIR/git-tft-testsav11of3r/tests/tasks/el_repo_setup.yml:24 --------------- 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-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:28 Set network provider to 'initscripts' ----------------------------------- 0.03s /WORKDIR/git-tft-testsav11of3r/tests/tests_bridge_initscripts.yml:10 ---------- linux-system-roles.network : Print network provider --------------------- 0.02s /WORKDIR/git-tft-testsav11of3r/tests/roles/linux-system-roles.network/tasks/main.yml:7 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---