# 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 statically imported: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-tft-tests9fpdjqw4/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_nm.yml **************************************************** 2 plays in /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_bond_nm.yml PLAY [Run playbook 'playbooks/tests_bond.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_bond_nm.yml:6 Thursday 20 June 2024 08:21:46 +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_bond_nm.yml:9 Thursday 20 June 2024 08:21:47 +0000 (0:00:00.843) 0:00:00.855 ********* 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:21:47 +0000 (0:00:00.010) 0:00:00.866 ********* 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:21:48 +0000 (0:00:00.347) 0:00:01.214 ********* 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:21:48 +0000 (0:00:00.249) 0:00:01.464 ********* 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:21:48 +0000 (0:00:00.018) 0:00:01.482 ********* 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:21:48 +0000 (0:00:00.011) 0:00:01.494 ********* 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:21:48 +0000 (0:00:00.022) 0:00:01.516 ********* 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:21:48 +0000 (0:00:00.243) 0:00:01.759 ********* 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:21:48 +0000 (0:00:00.008) 0:00:01.768 ********* 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:21:48 +0000 (0:00:00.008) 0:00:01.777 ********* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244167", "end": "2024-06-20 04:21:49.086911", "rc": 0, "start": "2024-06-20 04:21:48.842744" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:40 Thursday 20 June 2024 08:21:49 +0000 (0:00:00.432) 0:00:02.210 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_bond_nm.yml:11 Thursday 20 June 2024 08:21:49 +0000 (0:00:00.009) 0:00:02.219 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing bond connection] **************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bond.yml:3 Thursday 20 June 2024 08:21:49 +0000 (0:00:00.017) 0:00:02.236 ********* ok: [sut] TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bond.yml:15 Thursday 20 June 2024 08:21:49 +0000 (0:00:00.593) 0:00:02.829 ********* ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Thursday 20 June 2024 08:21:49 +0000 (0:00:00.011) 0:00:02.840 ********* 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-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 20 June 2024 08:22:55 +0000 (0:01:05.375) 0:01:08.216 ********* 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:22:55 +0000 (0:00:00.017) 0:01:08.233 ********* 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:22:55 +0000 (0:00:00.018) 0:01:08.251 ********* 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:22:55 +0000 (0:00:00.012) 0:01:08.263 ********* 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:22:55 +0000 (0:00:00.012) 0:01:08.276 ********* 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:22:56 +0000 (0:00:01.455) 0:01:09.732 ********* 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:22:58 +0000 (0:00:01.463) 0:01:11.195 ********* ok: [sut] => {} MSG: Using network provider: nm 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:22:58 +0000 (0:00:00.021) 0:01:11.216 ********* 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:22:58 +0000 (0:00:00.019) 0:01:11.236 ********* 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:22:58 +0000 (0:00:00.020) 0:01:11.256 ********* 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:22:58 +0000 (0:00:00.033) 0:01:11.290 ********* 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:22:58 +0000 (0:00:00.026) 0:01:11.317 ********* 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:22:58 +0000 (0:00:00.032) 0:01:11.350 ********* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 20 June 2024 08:22:58 +0000 (0:00:00.051) 0:01:11.401 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 20 June 2024 08:22:58 +0000 (0:00:00.020) 0:01:11.422 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : 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:98 Thursday 20 June 2024 08:22:58 +0000 (0:00:00.020) 0:01:11.442 ********* 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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 20 June 2024 08:22:58 +0000 (0:00:00.051) 0:01:11.494 ********* 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 20 June 2024 08:22:58 +0000 (0:00:00.534) 0:01:12.029 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 20 June 2024 08:22:58 +0000 (0:00:00.033) 0:01:12.063 ********* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 20 June 2024 08:22:58 +0000 (0:00:00.018) 0:01:12.081 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 20 June 2024 08:22:58 +0000 (0:00:00.017) 0:01:12.098 ********* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [004] #0, state:down persistent_state:absent, 'bond0.1': no connection matches 'bond0.1' to delete [005] #1, state:down persistent_state:absent, 'bond0.0': no connection matches 'bond0.0' to delete [006] #2, state:down persistent_state:absent, 'bond0': no connection matches 'bond0' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 20 June 2024 08:22:59 +0000 (0:00:00.602) 0:01:12.700 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 20 June 2024 08:22:59 +0000 (0:00:00.021) 0:01:12.722 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[004] #0, state:down persistent_state:absent, 'bond0.1': no connection matches 'bond0.1' to delete", "[005] #1, state:down persistent_state:absent, 'bond0.0': no connection matches 'bond0.0' to delete", "[006] #2, state:down persistent_state:absent, 'bond0': no connection matches 'bond0' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 20 June 2024 08:22:59 +0000 (0:00:00.019) 0:01:12.742 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[004] #0, state:down persistent_state:absent, 'bond0.1': no connection matches 'bond0.1' to delete\n[005] #1, state:down persistent_state:absent, 'bond0.0': no connection matches 'bond0.0' to delete\n[006] #2, state:down persistent_state:absent, 'bond0': no connection matches 'bond0' to delete\n", "stderr_lines": [ "[004] #0, state:down persistent_state:absent, 'bond0.1': no connection matches 'bond0.1' to delete", "[005] #1, state:down persistent_state:absent, 'bond0.0': no connection matches 'bond0.0' to delete", "[006] #2, state:down persistent_state:absent, 'bond0': no connection matches 'bond0' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 20 June 2024 08:22:59 +0000 (0:00:00.021) 0:01:12.764 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 20 June 2024 08:22:59 +0000 (0:00:00.020) 0:01:12.784 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bond.yml:114 Thursday 20 June 2024 08:22:59 +0000 (0:00:00.286) 0:01:13.071 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.007124", "end": "2024-06-20 04:23:00.139419", "failed_when_result": false, "rc": 1, "start": "2024-06-20 04:23:00.132295" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Thursday 20 June 2024 08:23:00 +0000 (0:00:00.199) 0:01:13.270 ********* ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nrc=0\nip link delete test1 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test1 - error \"$rc\"\nfi\nip link delete test2 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test2 - error \"$rc\"\nfi\nip link delete testbr || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link testbr - error \"$rc\"\nfi\n", "delta": "0:00:00.014595", "end": "2024-06-20 04:23:00.347346", "rc": 0, "start": "2024-06-20 04:23:00.332751" } STDERR: + exec + rc=0 + ip link delete test1 Cannot find device "test1" + rc=1 + '[' 1 '!=' 0 ']' + echo ERROR - could not delete link test1 - error 1 ERROR - could not delete link test1 - error 1 + ip link delete test2 Cannot find device "test2" + rc=1 + '[' 1 '!=' 0 ']' + echo ERROR - could not delete link test2 - error 1 ERROR - could not delete link test2 - error 1 + ip link delete testbr Cannot find device "testbr" + rc=1 + '[' 1 '!=' 0 ']' + echo ERROR - could not delete link testbr - error 1 ERROR - could not delete link testbr - error 1 TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:23 Thursday 20 June 2024 08:23:00 +0000 (0:00:00.209) 0:01:13.480 ********* ok: [sut] => { "changed": false, "cmd": "set -uxo pipefail\nexec 1>&2\npkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\nfi\n", "delta": "0:00:00.009399", "end": "2024-06-20 04:23:00.551303", "rc": 0, "start": "2024-06-20 04:23:00.541904" } STDERR: + exec + pkill -F /run/dhcp_testbr.pid pkill: pidfile not valid Try `pkill --help' for more information. + rm -rf /run/dhcp_testbr.pid + rm -rf /run/dhcp_testbr.lease + grep 'release 6' /etc/redhat-release TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bond.yml:120 Thursday 20 June 2024 08:23:00 +0000 (0:00:00.202) 0:01:13.682 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bond.yml:125 Thursday 20 June 2024 08:23:00 +0000 (0:00:00.018) 0:01:13.700 ********* included: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 20 June 2024 08:23:00 +0000 (0:00:00.031) 0:01:13.732 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008445", "end": "2024-06-20 04:23:00.804272", "rc": 0, "start": "2024-06-20 04:23:00.795827" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:ec:09:15:82:e5 brd ff:ff:ff:ff:ff:ff inet 10.31.10.68/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3098sec preferred_lft 3098sec inet6 fe80::10ec:9ff:fe15:82e5/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.68 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.68 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 20 June 2024 08:23:00 +0000 (0:00:00.225) 0:01:13.958 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:01.897961", "end": "2024-06-20 04:23:02.922721", "rc": 0, "start": "2024-06-20 04:23:01.024760" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 305 100 305 0 0 173 0 0:00:01 0:00:01 --:--:-- 173 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2939 0 --:--:-- --:--:-- --:--:-- 2910 to retry, use: --limit @/tmp/tests_bond_nm.retry PLAY RECAP ********************************************************************* sut : ok=26 changed=0 unreachable=0 failed=1 skipped=22 rescued=0 ignored=0 Thursday 20 June 2024 08:23:02 +0000 (0:00:02.086) 0:01:16.044 ********* =============================================================================== Install dnsmasq -------------------------------------------------------- 65.38s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Verify DNS and network connectivity ------------------------------------- 2.09s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/check_network_dns.yml:24 - 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 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-tft-tests9fpdjqw4/tests/tests_bond_nm.yml:6 ---------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bond.yml:3 --------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.53s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 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.35s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:3 ---------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.29s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/el_repo_setup.yml:17 --------------- Create EPEL 8 ----------------------------------------------------------- 0.24s /WORKDIR/git-tft-tests9fpdjqw4/tests/tasks/enable_epel.yml:8 ------------------ Check routes and DNS ---------------------------------------------------- 0.23s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/check_network_dns.yml:6 -- Remove test interfaces -------------------------------------------------- 0.21s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Stop dnsmasq/radvd services --------------------------------------------- 0.20s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:23 Delete the device 'nm-bond' --------------------------------------------- 0.20s /WORKDIR/git-tft-tests9fpdjqw4/tests/playbooks/tests_bond.yml:114 ------------- fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.05s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 fedora.linux_system_roles.network : Install packages -------------------- 0.05s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 fedora.linux_system_roles.network : Enable and start wpa_supplicant ----- 0.03s /WORKDIR/git-tft-tests9fpdjqw4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---