# 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/assert_device_present.yml statically imported: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/assert_device_present.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_removal_initscripts.yml *********************************** 2 plays in /WORKDIR/git-tft-testssaty988p/tests/tests_bond_removal_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_removal.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/tests_bond_removal_initscripts.yml:5 Monday 17 June 2024 14:30:21 +0000 (0:00:00.024) 0:00:00.024 *********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testssaty988p/tests/tests_bond_removal_initscripts.yml:8 Monday 17 June 2024 14:30:22 +0000 (0:00:00.895) 0:00:00.919 *********** 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:30:22 +0000 (0:00:00.011) 0:00:00.930 *********** 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:30:23 +0000 (0:00:00.351) 0:00:01.281 *********** 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:30:23 +0000 (0:00:00.256) 0:00:01.537 *********** 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:30:23 +0000 (0:00:00.014) 0:00:01.551 *********** 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:30:23 +0000 (0:00:00.009) 0:00:01.561 *********** 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:30:23 +0000 (0:00:00.023) 0:00:01.584 *********** 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:30:23 +0000 (0:00:00.249) 0:00:01.833 *********** 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:30:23 +0000 (0:00:00.008) 0:00:01.842 *********** 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:30:23 +0000 (0:00:00.008) 0:00:01.850 *********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.262169", "end": "2024-06-17 10:30:24.231933", "rc": 0, "start": "2024-06-17 10:30:23.969764" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:30:24 +0000 (0:00:00.451) 0:00:02.302 *********** 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_removal_initscripts.yml:10 Monday 17 June 2024 14:30:24 +0000 (0:00:00.008) 0:00:02.311 *********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing bond removal] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_bond_removal.yml:3 Monday 17 June 2024 14:30:24 +0000 (0:00:00.017) 0:00:02.329 *********** ok: [sut] TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_bond_removal.yml:15 Monday 17 June 2024 14:30:24 +0000 (0:00:00.618) 0:00:02.948 *********** 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:30:24 +0000 (0:00:00.018) 0:00:02.966 *********** 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:31:30 +0000 (0:01:05.231) 0:01:08.197 *********** 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:31:30 +0000 (0:00:00.031) 0:01:08.229 *********** 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:31:30 +0000 (0:00:00.025) 0:01:08.254 *********** 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:31:30 +0000 (0:00:00.024) 0:01:08.279 *********** 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:31:30 +0000 (0:00:00.023) 0:01:08.302 *********** 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:31:31 +0000 (0:00:01.632) 0:01:09.935 *********** 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:31:33 +0000 (0:00:01.493) 0:01:11.429 *********** 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:31:33 +0000 (0:00:00.029) 0:01:11.458 *********** 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:31:33 +0000 (0:00:00.030) 0:01:11.488 *********** 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:31:33 +0000 (0:00:00.029) 0:01:11.518 *********** 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:31:33 +0000 (0:00:00.036) 0:01:11.555 *********** 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:31:33 +0000 (0:00:00.028) 0:01:11.584 *********** 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:31:33 +0000 (0:00:00.036) 0:01:11.620 *********** 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_removal_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=15 changed=0 unreachable=0 failed=2 skipped=12 rescued=0 ignored=0 Monday 17 June 2024 14:32:38 +0000 (0:01:05.196) 0:02:16.817 *********** =============================================================================== Install dnsmasq -------------------------------------------------------- 65.23s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Install packages ------------------- 65.20s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /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.49s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-tft-testssaty988p/tests/tests_bond_removal_initscripts.yml:5 ----- Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-tft-testssaty988p/tests/playbooks/tests_bond_removal.yml:3 ------- Enable EPEL 8 ----------------------------------------------------------- 0.45s /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.26s /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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.04s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 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.04s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 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 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 : 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 : Print network provider -------------- 0.03s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 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 fedora.linux_system_roles.network : Check if system is ostree ----------- 0.02s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 fedora.linux_system_roles.network : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-tft-testssaty988p/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---