# 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-testssaty988p/.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 statically imported: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml 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_bond_cloned_mac_initscripts.yml ******************************** 2 plays in /WORKDIR/git-tft-testssaty988p/tests/tests_bond_cloned_mac_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_cloned_mac.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/tests_bond_cloned_mac_initscripts.yml:5 Monday 17 June 2024 14:19:11 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testssaty988p/tests/tests_bond_cloned_mac_initscripts.yml:8 Monday 17 June 2024 14:19:12 +0000 (0:00:00.848) 0:00:00.860 *********** included: /WORKDIR/git-tft-testssaty988p/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-testssaty988p/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:19:12 +0000 (0:00:00.012) 0:00:00.873 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:17 Monday 17 June 2024 14:19:12 +0000 (0:00:00.346) 0:00:01.219 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:22 Monday 17 June 2024 14:19:13 +0000 (0:00:00.266) 0:00:01.486 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:26 Monday 17 June 2024 14:19:13 +0000 (0:00:00.018) 0:00:01.504 *********** 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-testssaty988p/tests/tasks/el_repo_setup.yml:51 Monday 17 June 2024 14:19:13 +0000 (0:00:00.009) 0:00:01.513 *********** included: /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:19:13 +0000 (0:00:00.031) 0:00:01.545 *********** 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-testssaty988p/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:19:13 +0000 (0:00:00.249) 0:00:01.794 *********** 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-testssaty988p/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:19:13 +0000 (0:00:00.010) 0:00:01.805 *********** 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-testssaty988p/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:19:13 +0000 (0:00:00.008) 0:00:01.813 *********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245580", "end": "2024-06-17 10:19:13.870382", "rc": 0, "start": "2024-06-17 10:19:13.624802" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:19:13 +0000 (0:00:00.434) 0:00:02.247 *********** 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-testssaty988p/tests/tests_bond_cloned_mac_initscripts.yml:10 Monday 17 June 2024 14:19:13 +0000 (0:00:00.008) 0:00:02.256 *********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing bond cloned MAC address] ******************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_bond_cloned_mac.yml:3 Monday 17 June 2024 14:19:13 +0000 (0:00:00.017) 0:00:02.273 *********** ok: [sut] TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_bond_cloned_mac.yml:15 Monday 17 June 2024 14:19:14 +0000 (0:00:00.604) 0:00:02.878 *********** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Monday 17 June 2024 14:19:14 +0000 (0:00:00.017) 0:00:02.896 *********** FAILED - RETRYING: [sut]: Install dnsmasq (6 retries left). FAILED - RETRYING: [sut]: Install dnsmasq (5 retries left). FAILED - RETRYING: [sut]: Install dnsmasq (4 retries left). FAILED - RETRYING: [sut]: Install dnsmasq (3 retries left). FAILED - RETRYING: [sut]: Install dnsmasq (2 retries left). FAILED - RETRYING: [sut]: Install dnsmasq (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 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:20:19 +0000 (0:01:05.029) 0:01:07.925 *********** included: /WORKDIR/git-tft-testssaty988p/.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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:20:19 +0000 (0:00:00.028) 0:01:07.954 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:20:19 +0000 (0:00:00.032) 0:01:07.986 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:20:19 +0000 (0:00:00.021) 0:01:08.008 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:20:19 +0000 (0:00:00.033) 0:01:08.041 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:20:21 +0000 (0:00:01.491) 0:01:09.533 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:20:22 +0000 (0:00:01.478) 0:01:11.012 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:20:22 +0000 (0:00:00.036) 0:01:11.048 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:20:22 +0000 (0:00:00.030) 0:01:11.078 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:20:22 +0000 (0:00:00.034) 0:01:11.113 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:20:22 +0000 (0:00:00.054) 0:01:11.168 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:20:22 +0000 (0:00:00.032) 0:01:11.200 *********** 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:20:22 +0000 (0:00:00.034) 0:01:11.235 *********** 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_bond_cloned_mac_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=15 changed=0 unreachable=0 failed=2 skipped=12 rescued=0 ignored=0 Monday 17 June 2024 14:21:28 +0000 (0:01:05.237) 0:02:16.472 *********** =============================================================================== fedora.linux_system_roles.network : Install packages ------------------- 65.24s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Install dnsmasq -------------------------------------------------------- 65.03s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /WORKDIR/git-tft-testssaty988p/.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.48s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-tft-testssaty988p/tests/tests_bond_cloned_mac_initscripts.yml:5 -- Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_bond_cloned_mac.yml:3 ---- Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:35 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.35s /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:3 ---------------- Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:17 --------------- Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:8 ------------------ 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.05s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Print network provider -------------- 0.04s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.03s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 fedora.linux_system_roles.network : Set flag to indicate system is ostree --- 0.03s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.03s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-tft-testssaty988p/tests/tasks/el_repo_setup.yml:51 --------------- 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-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 fedora.linux_system_roles.network : Ensure ansible_facts used by role --- 0.03s /WORKDIR/git-tft-testssaty988p/.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. ---^---^---^---^---^---