# 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_switch_provider.yml ******************************************** 2 plays in /WORKDIR/git-weekly-ciuory3ar6/tests/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tests_switch_provider.yml:3 Saturday 08 June 2024 14:37:08 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tests_switch_provider.yml:6 Saturday 08 June 2024 14:37:09 +0000 (0:00:00.668) 0:00:00.680 ********* included: /WORKDIR/git-weekly-ciuory3ar6/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-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:3 Saturday 08 June 2024 14:37:09 +0000 (0:00:00.021) 0:00:00.701 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:19 Saturday 08 June 2024 14:37:09 +0000 (0:00:00.330) 0:00:01.032 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:24 Saturday 08 June 2024 14:37:09 +0000 (0:00:00.245) 0:00:01.277 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:28 Saturday 08 June 2024 14:37:09 +0000 (0:00:00.019) 0:00:01.297 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:53 Saturday 08 June 2024 14:37:09 +0000 (0:00:00.017) 0:00:01.314 ********* included: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:8 Saturday 08 June 2024 14:37:10 +0000 (0:00:00.042) 0:00:01.357 ********* 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-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:24 Saturday 08 June 2024 14:37:10 +0000 (0:00:00.229) 0:00:01.587 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:30 Saturday 08 June 2024 14:37:10 +0000 (0:00:00.010) 0:00:01.597 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:35 Saturday 08 June 2024 14:37:10 +0000 (0:00:00.010) 0:00:01.608 ********* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.241014", "end": "2024-06-08 10:37:10.656328", "rc": 0, "start": "2024-06-08 10:37:10.415314" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:40 Saturday 08 June 2024 14:37:10 +0000 (0:00:00.419) 0:00:02.028 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_switch_provider.yml:5 Saturday 08 June 2024 14:37:10 +0000 (0:00:00.011) 0:00:02.039 ********* ok: [sut] META: ran handlers TASK [Set fact to use initscripts network_provider] **************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_switch_provider.yml:8 Saturday 08 June 2024 14:37:11 +0000 (0:00:00.461) 0:00:02.501 ********* ok: [sut] => { "ansible_facts": { "interface": "LST-TST-br34", "network_provider": "initscripts" }, "changed": false } TASK [Through the initscripts provider, create test bridge LST-TST-br34] ******* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_switch_provider.yml:14 Saturday 08 June 2024 14:37:11 +0000 (0:00:00.011) 0:00:02.512 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 08 June 2024 14:37:11 +0000 (0:00:00.082) 0:00:02.595 ********* included: /WORKDIR/git-weekly-ciuory3ar6/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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 08 June 2024 14:37:11 +0000 (0:00:00.017) 0:00:02.612 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 08 June 2024 14:37:11 +0000 (0:00:00.010) 0:00:02.623 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 08 June 2024 14:37:11 +0000 (0:00:00.009) 0:00:02.632 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 08 June 2024 14:37:11 +0000 (0:00:00.009) 0:00:02.642 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 08 June 2024 14:37:12 +0000 (0:00:01.483) 0:00:04.125 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 08 June 2024 14:37:14 +0000 (0:00:01.392) 0:00:05.517 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 08 June 2024 14:37:14 +0000 (0:00:00.023) 0:00:05.541 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 08 June 2024 14:37:14 +0000 (0:00:00.022) 0:00:05.563 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 08 June 2024 14:37:14 +0000 (0:00:00.021) 0:00:05.585 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 08 June 2024 14:37:14 +0000 (0:00:00.029) 0:00:05.614 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:57 Saturday 08 June 2024 14:37:14 +0000 (0:00:00.022) 0:00:05.637 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:77 Saturday 08 June 2024 14:37:14 +0000 (0:00:00.025) 0:00:05.662 ********* 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_switch_provider.retry PLAY RECAP ********************************************************************* sut : ok=14 changed=0 unreachable=0 failed=1 skipped=12 rescued=0 ignored=0 Saturday 08 June 2024 14:38:19 +0000 (0:01:05.447) 0:01:11.110 ********* =============================================================================== linux-system-roles.network : Install packages -------------------------- 65.45s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:77 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.39s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-weekly-ciuory3ar6/tests/tests_switch_provider.yml:3 -------------- Gathering Facts --------------------------------------------------------- 0.46s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_switch_provider.yml:5 ---- Enable EPEL 8 ----------------------------------------------------------- 0.42s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:35 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.33s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:3 ---------------- Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:19 --------------- Create EPEL 8 ----------------------------------------------------------- 0.23s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:8 ------------------ Through the initscripts provider, create test bridge LST-TST-br34 ------- 0.08s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_switch_provider.yml:14 --- Include the task 'enable_epel.yml' -------------------------------------- 0.04s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:53 --------------- 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.03s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:57 linux-system-roles.network : Print network provider --------------------- 0.02s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:7 linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces --- 0.02s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider --- 0.02s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:11 linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 0.02s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Include the task 'el_repo_setup.yml' ------------------------------------ 0.02s /WORKDIR/git-weekly-ciuory3ar6/tests/tests_switch_provider.yml:6 -------------- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:24 --------------- linux-system-roles.network : Ensure ansible_facts used by role ---------- 0.02s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---