ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-S7t executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_states_nm.yml ************************************************** 2 plays in /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 05 October 2024 08:57:31 -0400 (0:00:00.020) 0:00:00.020 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 05 October 2024 08:57:33 -0400 (0:00:01.175) 0:00:01.196 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 05 October 2024 08:57:33 -0400 (0:00:00.031) 0:00:01.228 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 05 October 2024 08:57:33 -0400 (0:00:00.528) 0:00:01.756 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.489) 0:00:02.246 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.035) 0:00:02.282 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.023) 0:00:02.306 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.068) 0:00:02.374 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.024) 0:00:02.399 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.022) 0:00:02.422 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.023) 0:00:02.445 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.021) 0:00:02.466 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.023) 0:00:02.489 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 05 October 2024 08:57:34 -0400 (0:00:00.044) 0:00:02.534 ****** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 05 October 2024 08:57:35 -0400 (0:00:00.913) 0:00:03.447 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 05 October 2024 08:57:35 -0400 (0:00:00.017) 0:00:03.464 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:57:35 -0400 (0:00:00.026) 0:00:03.491 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:57:35 -0400 (0:00:00.018) 0:00:03.509 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:57:35 -0400 (0:00:00.071) 0:00:03.581 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:57:35 -0400 (0:00:00.072) 0:00:03.653 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:57:35 -0400 (0:00:00.063) 0:00:03.716 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-10-05 08:57:36.178937", "rc": 0, "start": "2024-10-05 08:57:36.175489" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:57:36 -0400 (0:00:00.631) 0:00:04.348 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:57:36 -0400 (0:00:00.055) 0:00:04.403 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:57:36 -0400 (0:00:00.046) 0:00:04.450 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 05 October 2024 08:57:36 -0400 (0:00:00.070) 0:00:04.521 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008012", "end": "2024-10-05 08:57:36.759733", "rc": 1, "start": "2024-10-05 08:57:36.751721" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:57:36 -0400 (0:00:00.390) 0:00:04.912 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:57:36 -0400 (0:00:00.034) 0:00:04.946 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:57:37 -0400 (0:00:00.372) 0:00:05.318 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:57:37 -0400 (0:00:00.024) 0:00:05.343 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:57:37 -0400 (0:00:00.041) 0:00:05.384 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:57:37 -0400 (0:00:00.092) 0:00:05.476 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:57:37 -0400 (0:00:00.069) 0:00:05.545 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:57:37 -0400 (0:00:00.059) 0:00:05.605 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:57:37 -0400 (0:00:00.036) 0:00:05.642 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:57:37 -0400 (0:00:00.033) 0:00:05.676 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:57:39 -0400 (0:00:02.049) 0:00:07.726 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:57:40 -0400 (0:00:01.148) 0:00:08.874 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:57:40 -0400 (0:00:00.087) 0:00:08.962 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:57:40 -0400 (0:00:00.063) 0:00:09.025 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:57:40 -0400 (0:00:00.036) 0:00:09.062 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:57:41 -0400 (0:00:00.060) 0:00:09.122 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:57:41 -0400 (0:00:00.064) 0:00:09.186 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:57:41 -0400 (0:00:00.052) 0:00:09.239 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:57:41 -0400 (0:00:00.086) 0:00:09.325 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:57:41 -0400 (0:00:00.172) 0:00:09.497 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:57:41 -0400 (0:00:00.037) 0:00:09.535 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:57:41 -0400 (0:00:00.041) 0:00:09.576 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:57:41 -0400 (0:00:00.063) 0:00:09.640 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:57:42 -0400 (0:00:00.973) 0:00:10.613 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:57:42 -0400 (0:00:00.089) 0:00:10.703 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:57:42 -0400 (0:00:00.034) 0:00:10.737 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:57:42 -0400 (0:00:00.037) 0:00:10.775 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 086db22b-e4b4-4238-9bb0-b3791ccb9cb6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:57:43 -0400 (0:00:00.733) 0:00:11.508 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:57:43 -0400 (0:00:00.032) 0:00:11.540 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 086db22b-e4b4-4238-9bb0-b3791ccb9cb6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:57:43 -0400 (0:00:00.036) 0:00:11.576 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 086db22b-e4b4-4238-9bb0-b3791ccb9cb6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 086db22b-e4b4-4238-9bb0-b3791ccb9cb6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:57:43 -0400 (0:00:00.035) 0:00:11.612 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:57:43 -0400 (0:00:00.031) 0:00:11.644 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:57:44 -0400 (0:00:00.455) 0:00:12.099 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 086db22b-e4b4-4238-9bb0-b3791ccb9cb6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 086db22b-e4b4-4238-9bb0-b3791ccb9cb6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:57:44 -0400 (0:00:00.049) 0:00:12.149 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:57:44 -0400 (0:00:00.064) 0:00:12.213 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:57:44 -0400 (0:00:00.088) 0:00:12.301 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:57:44 -0400 (0:00:00.034) 0:00:12.335 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:57:44 -0400 (0:00:00.385) 0:00:12.721 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:57:44 -0400 (0:00:00.075) 0:00:12.797 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018345", "end": "2024-10-05 08:57:45.045427", "rc": 0, "start": "2024-10-05 08:57:45.027082" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.458) 0:00:13.255 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.078) 0:00:13.334 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.062) 0:00:13.397 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.095) 0:00:13.492 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.081) 0:00:13.573 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.050) 0:00:13.624 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.072) 0:00:13.696 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.070) 0:00:13.767 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.060) 0:00:13.827 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 08:57:45 -0400 (0:00:00.208) 0:00:14.036 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:57:46 -0400 (0:00:00.104) 0:00:14.140 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133063.292322, "block_size": 4096, "blocks": 0, "ctime": 1728133063.292322, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29819, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728133063.292322, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 08:57:46 -0400 (0:00:00.463) 0:00:14.604 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:57:46 -0400 (0:00:00.092) 0:00:14.697 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:57:46 -0400 (0:00:00.136) 0:00:14.834 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:57:46 -0400 (0:00:00.106) 0:00:14.941 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.059873", "end": "2024-10-05 08:57:47.217278", "rc": 1, "start": "2024-10-05 08:57:47.157405" } STDOUT: Connection 'statebr' (086db22b-e4b4-4238-9bb0-b3791ccb9cb6) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 05 October 2024 08:57:47 -0400 (0:00:00.461) 0:00:15.402 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:57:47 -0400 (0:00:00.139) 0:00:15.542 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:57:47 -0400 (0:00:00.060) 0:00:15.603 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:57:47 -0400 (0:00:00.182) 0:00:15.786 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:57:47 -0400 (0:00:00.120) 0:00:15.906 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:57:47 -0400 (0:00:00.067) 0:00:15.974 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003422", "end": "2024-10-05 08:57:48.190426", "rc": 0, "start": "2024-10-05 08:57:48.187004" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:57:48 -0400 (0:00:00.425) 0:00:16.400 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:57:48 -0400 (0:00:00.095) 0:00:16.495 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:57:48 -0400 (0:00:00.067) 0:00:16.563 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 05 October 2024 08:57:48 -0400 (0:00:00.122) 0:00:16.686 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006584", "end": "2024-10-05 08:57:48.910054", "rc": 1, "start": "2024-10-05 08:57:48.903470" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:57:48 -0400 (0:00:00.383) 0:00:17.069 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.122) 0:00:17.192 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.392) 0:00:17.585 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.059) 0:00:17.645 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.076) 0:00:17.721 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.081) 0:00:17.803 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.064) 0:00:17.868 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.055) 0:00:17.923 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.037) 0:00:17.961 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:57:49 -0400 (0:00:00.038) 0:00:18.000 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:57:51 -0400 (0:00:01.927) 0:00:19.928 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:57:52 -0400 (0:00:00.835) 0:00:20.764 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:57:52 -0400 (0:00:00.157) 0:00:20.921 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:57:52 -0400 (0:00:00.056) 0:00:20.977 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:57:52 -0400 (0:00:00.071) 0:00:21.049 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:57:53 -0400 (0:00:00.090) 0:00:21.139 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:57:53 -0400 (0:00:00.119) 0:00:21.258 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:57:53 -0400 (0:00:00.106) 0:00:21.365 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:57:53 -0400 (0:00:00.073) 0:00:21.439 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:57:53 -0400 (0:00:00.141) 0:00:21.580 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:57:53 -0400 (0:00:00.050) 0:00:21.630 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:57:53 -0400 (0:00:00.052) 0:00:21.683 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:57:53 -0400 (0:00:00.086) 0:00:21.769 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:57:54 -0400 (0:00:00.592) 0:00:22.361 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:57:54 -0400 (0:00:00.063) 0:00:22.425 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:57:54 -0400 (0:00:00.031) 0:00:22.456 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:57:54 -0400 (0:00:00.033) 0:00:22.490 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70aa4cd1-dbb8-419f-b628-616b28220a34 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:57:54 -0400 (0:00:00.571) 0:00:23.061 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:57:55 -0400 (0:00:00.051) 0:00:23.112 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70aa4cd1-dbb8-419f-b628-616b28220a34" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:57:55 -0400 (0:00:00.057) 0:00:23.170 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70aa4cd1-dbb8-419f-b628-616b28220a34\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70aa4cd1-dbb8-419f-b628-616b28220a34" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:57:55 -0400 (0:00:00.058) 0:00:23.229 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:57:55 -0400 (0:00:00.101) 0:00:23.330 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 05 October 2024 08:57:55 -0400 (0:00:00.435) 0:00:23.766 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70aa4cd1-dbb8-419f-b628-616b28220a34\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70aa4cd1-dbb8-419f-b628-616b28220a34" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:57:55 -0400 (0:00:00.047) 0:00:23.813 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:57:55 -0400 (0:00:00.075) 0:00:23.889 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:57:55 -0400 (0:00:00.050) 0:00:23.940 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:57:56 -0400 (0:00:00.375) 0:00:24.315 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:57:56 -0400 (0:00:00.087) 0:00:24.402 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:57:56 -0400 (0:00:00.121) 0:00:24.524 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:57:56 -0400 (0:00:00.073) 0:00:24.598 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:57:56 -0400 (0:00:00.399) 0:00:24.998 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:57:56 -0400 (0:00:00.050) 0:00:25.048 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017726", "end": "2024-10-05 08:57:57.325557", "rc": 0, "start": "2024-10-05 08:57:57.307831" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.462) 0:00:25.511 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.042) 0:00:25.554 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.040) 0:00:25.594 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.044) 0:00:25.639 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.077) 0:00:25.717 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.062) 0:00:25.779 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.091) 0:00:25.870 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.100) 0:00:25.971 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:57:57 -0400 (0:00:00.108) 0:00:26.080 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:57:58 -0400 (0:00:00.152) 0:00:26.232 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:57:58 -0400 (0:00:00.082) 0:00:26.315 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:57:58 -0400 (0:00:00.110) 0:00:26.425 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035838", "end": "2024-10-05 08:57:58.683220", "rc": 1, "start": "2024-10-05 08:57:58.647382" } STDOUT: Connection 'statebr' (70aa4cd1-dbb8-419f-b628-616b28220a34) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 05 October 2024 08:57:58 -0400 (0:00:00.437) 0:00:26.863 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:57:58 -0400 (0:00:00.072) 0:00:26.935 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:57:58 -0400 (0:00:00.040) 0:00:26.976 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:57:58 -0400 (0:00:00.081) 0:00:27.057 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:57:59 -0400 (0:00:00.068) 0:00:27.126 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:57:59 -0400 (0:00:00.083) 0:00:27.209 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003342", "end": "2024-10-05 08:57:59.434000", "rc": 0, "start": "2024-10-05 08:57:59.430658" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:57:59 -0400 (0:00:00.417) 0:00:27.626 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:57:59 -0400 (0:00:00.035) 0:00:27.662 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:57:59 -0400 (0:00:00.044) 0:00:27.707 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:57:59 -0400 (0:00:00.151) 0:00:27.858 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:57:59 -0400 (0:00:00.153) 0:00:28.011 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:00 -0400 (0:00:00.096) 0:00:28.108 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:00 -0400 (0:00:00.062) 0:00:28.170 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:00 -0400 (0:00:00.036) 0:00:28.207 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:00 -0400 (0:00:00.036) 0:00:28.244 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:58:02 -0400 (0:00:01.907) 0:00:30.152 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:58:02 -0400 (0:00:00.798) 0:00:30.950 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:58:02 -0400 (0:00:00.042) 0:00:30.993 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:58:02 -0400 (0:00:00.086) 0:00:31.079 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.035) 0:00:31.115 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.071) 0:00:31.186 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.063) 0:00:31.249 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.054) 0:00:31.304 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.060) 0:00:31.365 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.086) 0:00:31.451 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.032) 0:00:31.484 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.031) 0:00:31.515 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:58:03 -0400 (0:00:00.062) 0:00:31.578 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:58:04 -0400 (0:00:00.632) 0:00:32.211 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:58:04 -0400 (0:00:00.134) 0:00:32.346 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:58:04 -0400 (0:00:00.057) 0:00:32.404 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:58:04 -0400 (0:00:00.055) 0:00:32.459 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 261060f2-da0a-4020-b32f-73d604003064 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:58:05 -0400 (0:00:00.717) 0:00:33.177 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:58:05 -0400 (0:00:00.056) 0:00:33.234 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 261060f2-da0a-4020-b32f-73d604003064" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:58:05 -0400 (0:00:00.058) 0:00:33.292 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 261060f2-da0a-4020-b32f-73d604003064\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 261060f2-da0a-4020-b32f-73d604003064" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:58:05 -0400 (0:00:00.062) 0:00:33.354 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:58:05 -0400 (0:00:00.053) 0:00:33.408 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:58:05 -0400 (0:00:00.437) 0:00:33.846 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 261060f2-da0a-4020-b32f-73d604003064\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 261060f2-da0a-4020-b32f-73d604003064" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:58:05 -0400 (0:00:00.047) 0:00:33.893 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 08:58:05 -0400 (0:00:00.166) 0:00:34.060 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:58:06 -0400 (0:00:00.141) 0:00:34.202 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:06 -0400 (0:00:00.116) 0:00:34.318 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:06 -0400 (0:00:00.093) 0:00:34.412 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:06 -0400 (0:00:00.060) 0:00:34.472 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:06 -0400 (0:00:00.061) 0:00:34.534 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:58:08 -0400 (0:00:01.881) 0:00:36.415 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.807) 0:00:37.223 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.061) 0:00:37.284 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.142) 0:00:37.426 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.054) 0:00:37.481 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.128) 0:00:37.610 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.103) 0:00:37.713 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.090) 0:00:37.803 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.100) 0:00:37.904 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:58:09 -0400 (0:00:00.142) 0:00:38.047 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:58:10 -0400 (0:00:00.058) 0:00:38.106 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:58:10 -0400 (0:00:00.092) 0:00:38.199 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:58:10 -0400 (0:00:00.120) 0:00:38.319 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:58:10 -0400 (0:00:00.692) 0:00:39.012 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:58:11 -0400 (0:00:00.120) 0:00:39.132 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:58:11 -0400 (0:00:00.057) 0:00:39.190 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:58:11 -0400 (0:00:00.059) 0:00:39.250 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 261060f2-da0a-4020-b32f-73d604003064 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:58:11 -0400 (0:00:00.619) 0:00:39.869 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:58:11 -0400 (0:00:00.070) 0:00:39.940 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 261060f2-da0a-4020-b32f-73d604003064 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:58:11 -0400 (0:00:00.063) 0:00:40.005 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 261060f2-da0a-4020-b32f-73d604003064 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 261060f2-da0a-4020-b32f-73d604003064 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:58:11 -0400 (0:00:00.071) 0:00:40.077 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:58:12 -0400 (0:00:00.069) 0:00:40.146 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:58:12 -0400 (0:00:00.615) 0:00:40.762 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 08:58:12 -0400 (0:00:00.213) 0:00:40.976 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:58:13 -0400 (0:00:00.151) 0:00:41.127 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133084.9238286, "block_size": 4096, "blocks": 0, "ctime": 1728133084.9238286, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29944, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728133084.9238286, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 08:58:13 -0400 (0:00:00.507) 0:00:41.634 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:58:13 -0400 (0:00:00.091) 0:00:41.726 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:58:13 -0400 (0:00:00.108) 0:00:41.834 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:58:13 -0400 (0:00:00.068) 0:00:41.903 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.401) 0:00:42.304 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.076) 0:00:42.380 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018407", "end": "2024-10-05 08:58:14.607888", "rc": 0, "start": "2024-10-05 08:58:14.589481" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.403) 0:00:42.783 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.041) 0:00:42.825 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.034) 0:00:42.859 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.032) 0:00:42.892 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.034) 0:00:42.926 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.033) 0:00:42.959 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:58:14 -0400 (0:00:00.088) 0:00:43.048 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:58:15 -0400 (0:00:00.060) 0:00:43.108 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:58:15 -0400 (0:00:00.078) 0:00:43.186 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:58:15 -0400 (0:00:00.089) 0:00:43.276 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:58:15 -0400 (0:00:00.086) 0:00:43.363 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:58:15 -0400 (0:00:00.112) 0:00:43.475 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.052643", "end": "2024-10-05 08:58:15.739240", "rc": 1, "start": "2024-10-05 08:58:15.686597" } STDOUT: Connection 'statebr' (261060f2-da0a-4020-b32f-73d604003064) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 05 October 2024 08:58:15 -0400 (0:00:00.438) 0:00:43.914 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:58:15 -0400 (0:00:00.104) 0:00:44.019 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:58:15 -0400 (0:00:00.066) 0:00:44.085 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:58:16 -0400 (0:00:00.094) 0:00:44.179 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:58:16 -0400 (0:00:00.059) 0:00:44.239 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:58:16 -0400 (0:00:00.051) 0:00:44.290 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003396", "end": "2024-10-05 08:58:16.489011", "rc": 0, "start": "2024-10-05 08:58:16.485615" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:58:16 -0400 (0:00:00.382) 0:00:44.673 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:58:16 -0400 (0:00:00.061) 0:00:44.735 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:58:16 -0400 (0:00:00.133) 0:00:44.868 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:58:16 -0400 (0:00:00.081) 0:00:44.950 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:58:16 -0400 (0:00:00.114) 0:00:45.064 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:17 -0400 (0:00:00.122) 0:00:45.186 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:17 -0400 (0:00:00.065) 0:00:45.252 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:17 -0400 (0:00:00.038) 0:00:45.290 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:17 -0400 (0:00:00.036) 0:00:45.327 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:58:19 -0400 (0:00:01.849) 0:00:47.177 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:58:19 -0400 (0:00:00.790) 0:00:47.967 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:58:19 -0400 (0:00:00.040) 0:00:48.008 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:58:19 -0400 (0:00:00.041) 0:00:48.050 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:58:19 -0400 (0:00:00.039) 0:00:48.089 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:58:20 -0400 (0:00:00.129) 0:00:48.218 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:58:20 -0400 (0:00:00.132) 0:00:48.351 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:58:20 -0400 (0:00:00.099) 0:00:48.451 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:58:20 -0400 (0:00:00.083) 0:00:48.534 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:58:20 -0400 (0:00:00.120) 0:00:48.655 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:58:20 -0400 (0:00:00.035) 0:00:48.690 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:58:20 -0400 (0:00:00.031) 0:00:48.722 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:58:20 -0400 (0:00:00.084) 0:00:48.806 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:58:21 -0400 (0:00:00.640) 0:00:49.447 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:58:21 -0400 (0:00:00.072) 0:00:49.520 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:58:21 -0400 (0:00:00.033) 0:00:49.553 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:58:21 -0400 (0:00:00.031) 0:00:49.584 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:58:22 -0400 (0:00:00.599) 0:00:50.184 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:58:22 -0400 (0:00:00.041) 0:00:50.226 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:58:22 -0400 (0:00:00.041) 0:00:50.267 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:58:22 -0400 (0:00:00.038) 0:00:50.305 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:58:22 -0400 (0:00:00.032) 0:00:50.337 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:58:22 -0400 (0:00:00.375) 0:00:50.713 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 08:58:22 -0400 (0:00:00.120) 0:00:50.833 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:58:22 -0400 (0:00:00.157) 0:00:50.991 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:23 -0400 (0:00:00.136) 0:00:51.128 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:23 -0400 (0:00:00.105) 0:00:51.234 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:23 -0400 (0:00:00.065) 0:00:51.299 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:23 -0400 (0:00:00.062) 0:00:51.361 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:58:25 -0400 (0:00:01.883) 0:00:53.245 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:58:25 -0400 (0:00:00.839) 0:00:54.084 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.060) 0:00:54.145 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.053) 0:00:54.199 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.044) 0:00:54.243 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.085) 0:00:54.329 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.121) 0:00:54.451 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.167) 0:00:54.618 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.096) 0:00:54.714 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.102) 0:00:54.817 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.053) 0:00:54.871 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.034) 0:00:54.905 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:58:26 -0400 (0:00:00.065) 0:00:54.970 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:58:27 -0400 (0:00:00.670) 0:00:55.641 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:58:27 -0400 (0:00:00.064) 0:00:55.706 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:58:27 -0400 (0:00:00.032) 0:00:55.738 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:58:27 -0400 (0:00:00.037) 0:00:55.776 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:58:28 -0400 (0:00:00.618) 0:00:56.395 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:58:28 -0400 (0:00:00.051) 0:00:56.447 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:58:28 -0400 (0:00:00.072) 0:00:56.519 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 15494548-8c07-471d-81e9-bc34d9b3f69f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:58:28 -0400 (0:00:00.064) 0:00:56.583 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:58:28 -0400 (0:00:00.078) 0:00:56.662 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:58:28 -0400 (0:00:00.425) 0:00:57.087 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 05 October 2024 08:58:29 -0400 (0:00:00.072) 0:00:57.160 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:58:29 -0400 (0:00:00.186) 0:00:57.346 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:29 -0400 (0:00:00.111) 0:00:57.457 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:29 -0400 (0:00:00.078) 0:00:57.535 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:29 -0400 (0:00:00.039) 0:00:57.575 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:29 -0400 (0:00:00.038) 0:00:57.614 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:58:31 -0400 (0:00:01.898) 0:00:59.513 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.767) 0:01:00.281 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.036) 0:01:00.317 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.033) 0:01:00.351 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.032) 0:01:00.383 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.065) 0:01:00.449 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.064) 0:01:00.514 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.052) 0:01:00.566 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.112) 0:01:00.678 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.088) 0:01:00.766 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.034) 0:01:00.800 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.032) 0:01:00.833 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:58:32 -0400 (0:00:00.063) 0:01:00.896 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:58:33 -0400 (0:00:00.590) 0:01:01.486 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:58:33 -0400 (0:00:00.131) 0:01:01.617 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:58:33 -0400 (0:00:00.081) 0:01:01.699 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:58:33 -0400 (0:00:00.072) 0:01:01.772 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:58:34 -0400 (0:00:00.598) 0:01:02.370 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:58:34 -0400 (0:00:00.058) 0:01:02.429 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:58:34 -0400 (0:00:00.066) 0:01:02.496 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:58:34 -0400 (0:00:00.078) 0:01:02.575 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:58:34 -0400 (0:00:00.056) 0:01:02.631 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:58:35 -0400 (0:00:00.501) 0:01:03.132 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 08:58:35 -0400 (0:00:00.147) 0:01:03.279 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:58:35 -0400 (0:00:00.150) 0:01:03.429 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133101.9724169, "block_size": 4096, "blocks": 0, "ctime": 1728133101.9724169, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728133101.9724169, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 08:58:35 -0400 (0:00:00.378) 0:01:03.807 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 08:58:35 -0400 (0:00:00.035) 0:01:03.843 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:58:35 -0400 (0:00:00.057) 0:01:03.901 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:58:35 -0400 (0:00:00.035) 0:01:03.937 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:58:36 -0400 (0:00:00.425) 0:01:04.363 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:58:36 -0400 (0:00:00.056) 0:01:04.419 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018095", "end": "2024-10-05 08:58:36.707994", "rc": 1, "start": "2024-10-05 08:58:36.689899" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:58:36 -0400 (0:00:00.469) 0:01:04.888 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:58:36 -0400 (0:00:00.040) 0:01:04.929 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:58:36 -0400 (0:00:00.040) 0:01:04.970 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:58:36 -0400 (0:00:00.043) 0:01:05.013 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:58:36 -0400 (0:00:00.035) 0:01:05.049 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 08:58:36 -0400 (0:00:00.034) 0:01:05.083 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:58:37 -0400 (0:00:00.036) 0:01:05.120 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:58:37 -0400 (0:00:00.057) 0:01:05.178 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:58:37 -0400 (0:00:00.056) 0:01:05.234 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:58:37 -0400 (0:00:00.264) 0:01:05.499 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.055134", "end": "2024-10-05 08:58:37.755366", "rc": 1, "start": "2024-10-05 08:58:37.700232" } STDOUT: Connection 'statebr' (15494548-8c07-471d-81e9-bc34d9b3f69f) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 05 October 2024 08:58:37 -0400 (0:00:00.455) 0:01:05.954 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:58:38 -0400 (0:00:00.157) 0:01:06.112 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:58:38 -0400 (0:00:00.116) 0:01:06.228 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:58:38 -0400 (0:00:00.195) 0:01:06.424 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:58:38 -0400 (0:00:00.126) 0:01:06.551 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:58:38 -0400 (0:00:00.083) 0:01:06.634 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003354", "end": "2024-10-05 08:58:38.869028", "rc": 0, "start": "2024-10-05 08:58:38.865674" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:58:38 -0400 (0:00:00.399) 0:01:07.034 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:58:38 -0400 (0:00:00.045) 0:01:07.080 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:58:39 -0400 (0:00:00.059) 0:01:07.140 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:58:39 -0400 (0:00:00.104) 0:01:07.245 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:58:39 -0400 (0:00:00.120) 0:01:07.365 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:39 -0400 (0:00:00.160) 0:01:07.525 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:39 -0400 (0:00:00.134) 0:01:07.659 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:39 -0400 (0:00:00.065) 0:01:07.725 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:39 -0400 (0:00:00.053) 0:01:07.778 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:58:41 -0400 (0:00:01.833) 0:01:09.612 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.799) 0:01:10.412 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.077) 0:01:10.490 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.056) 0:01:10.546 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.054) 0:01:10.600 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.101) 0:01:10.702 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.073) 0:01:10.775 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.064) 0:01:10.840 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.064) 0:01:10.905 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.087) 0:01:10.992 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.033) 0:01:11.026 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:58:42 -0400 (0:00:00.033) 0:01:11.059 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:58:43 -0400 (0:00:00.172) 0:01:11.232 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:58:43 -0400 (0:00:00.606) 0:01:11.838 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:58:43 -0400 (0:00:00.061) 0:01:11.900 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:58:43 -0400 (0:00:00.034) 0:01:11.934 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:58:43 -0400 (0:00:00.032) 0:01:11.967 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:58:44 -0400 (0:00:00.665) 0:01:12.632 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:58:44 -0400 (0:00:00.060) 0:01:12.693 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:58:44 -0400 (0:00:00.085) 0:01:12.778 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:58:44 -0400 (0:00:00.074) 0:01:12.853 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:58:44 -0400 (0:00:00.055) 0:01:12.908 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:58:45 -0400 (0:00:00.440) 0:01:13.349 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 08:58:45 -0400 (0:00:00.062) 0:01:13.412 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:58:45 -0400 (0:00:00.132) 0:01:13.544 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:45 -0400 (0:00:00.150) 0:01:13.694 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:45 -0400 (0:00:00.208) 0:01:13.903 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:45 -0400 (0:00:00.163) 0:01:14.066 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:46 -0400 (0:00:00.070) 0:01:14.137 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:58:47 -0400 (0:00:01.920) 0:01:16.057 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:58:48 -0400 (0:00:00.823) 0:01:16.880 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:58:48 -0400 (0:00:00.041) 0:01:16.922 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:58:48 -0400 (0:00:00.038) 0:01:16.960 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:58:48 -0400 (0:00:00.043) 0:01:17.003 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:58:48 -0400 (0:00:00.067) 0:01:17.071 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:58:49 -0400 (0:00:00.062) 0:01:17.133 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:58:49 -0400 (0:00:00.053) 0:01:17.187 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:58:49 -0400 (0:00:00.060) 0:01:17.247 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:58:49 -0400 (0:00:00.090) 0:01:17.338 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:58:49 -0400 (0:00:00.034) 0:01:17.373 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:58:49 -0400 (0:00:00.032) 0:01:17.406 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:58:49 -0400 (0:00:00.061) 0:01:17.468 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:58:49 -0400 (0:00:00.590) 0:01:18.058 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:58:50 -0400 (0:00:00.282) 0:01:18.340 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:58:50 -0400 (0:00:00.075) 0:01:18.416 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:58:50 -0400 (0:00:00.053) 0:01:18.470 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.627) 0:01:19.098 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.060) 0:01:19.158 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.057) 0:01:19.216 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8e34740-1fc3-4975-948d-da917e2f3062 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.072) 0:01:19.288 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.058) 0:01:19.346 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.378) 0:01:19.724 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.072) 0:01:19.797 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.077) 0:01:19.875 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.088) 0:01:19.964 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:51 -0400 (0:00:00.063) 0:01:20.027 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:52 -0400 (0:00:00.078) 0:01:20.106 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:58:54 -0400 (0:00:02.087) 0:01:22.194 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:58:54 -0400 (0:00:00.785) 0:01:22.979 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:58:54 -0400 (0:00:00.037) 0:01:23.016 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:58:54 -0400 (0:00:00.034) 0:01:23.051 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:58:54 -0400 (0:00:00.033) 0:01:23.084 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:58:55 -0400 (0:00:00.067) 0:01:23.151 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:58:55 -0400 (0:00:00.065) 0:01:23.216 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:58:55 -0400 (0:00:00.053) 0:01:23.270 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:58:55 -0400 (0:00:00.111) 0:01:23.382 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:58:55 -0400 (0:00:00.140) 0:01:23.522 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:58:55 -0400 (0:00:00.056) 0:01:23.579 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:58:55 -0400 (0:00:00.056) 0:01:23.636 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:58:55 -0400 (0:00:00.100) 0:01:23.736 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:58:56 -0400 (0:00:00.649) 0:01:24.386 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:58:56 -0400 (0:00:00.096) 0:01:24.483 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:58:56 -0400 (0:00:00.034) 0:01:24.517 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:58:56 -0400 (0:00:00.034) 0:01:24.551 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:58:57 -0400 (0:00:00.748) 0:01:25.300 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:58:57 -0400 (0:00:00.078) 0:01:25.378 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:58:57 -0400 (0:00:00.074) 0:01:25.453 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:58:57 -0400 (0:00:00.088) 0:01:25.542 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:58:57 -0400 (0:00:00.053) 0:01:25.596 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:58:57 -0400 (0:00:00.389) 0:01:25.985 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 08:58:57 -0400 (0:00:00.077) 0:01:26.063 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:58:58 -0400 (0:00:00.078) 0:01:26.142 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:58:58 -0400 (0:00:00.064) 0:01:26.206 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:58:58 -0400 (0:00:00.057) 0:01:26.263 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:58:58 -0400 (0:00:00.040) 0:01:26.304 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:58:58 -0400 (0:00:00.049) 0:01:26.354 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:00 -0400 (0:00:01.991) 0:01:28.346 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.945) 0:01:29.292 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.039) 0:01:29.331 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.033) 0:01:29.364 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.039) 0:01:29.404 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.096) 0:01:29.500 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.128) 0:01:29.628 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.155) 0:01:29.784 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.129) 0:01:29.913 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.149) 0:01:30.062 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.059) 0:01:30.122 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.057) 0:01:30.179 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.133) 0:01:30.313 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.780) 0:01:31.093 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.111) 0:01:31.205 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.057) 0:01:31.262 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.056) 0:01:31.318 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.990) 0:01:32.309 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.080) 0:01:32.389 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.069) 0:01:32.458 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.092) 0:01:32.551 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.058) 0:01:32.609 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.411) 0:01:33.020 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.084) 0:01:33.105 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.097) 0:01:33.203 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.056) 0:01:33.260 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.382) 0:01:33.643 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.032) 0:01:33.675 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017365", "end": "2024-10-05 08:59:05.915526", "rc": 1, "start": "2024-10-05 08:59:05.898161" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:59:05 -0400 (0:00:00.402) 0:01:34.078 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.036) 0:01:34.114 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.034) 0:01:34.148 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.035) 0:01:34.183 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.033) 0:01:34.216 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.088) 0:01:34.304 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.038) 0:01:34.343 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.113) 0:01:34.457 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.125) 0:01:34.583 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.435) 0:01:35.019 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:59:06 -0400 (0:00:00.065) 0:01:35.084 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:59:07 -0400 (0:00:00.063) 0:01:35.148 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:59:07 -0400 (0:00:00.095) 0:01:35.244 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034729", "end": "2024-10-05 08:59:07.489024", "rc": 1, "start": "2024-10-05 08:59:07.454295" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 05 October 2024 08:59:07 -0400 (0:00:00.404) 0:01:35.648 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:07 -0400 (0:00:00.060) 0:01:35.708 ****** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:07 -0400 (0:00:00.036) 0:01:35.745 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:07 -0400 (0:00:00.072) 0:01:35.818 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:07 -0400 (0:00:00.061) 0:01:35.880 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:07 -0400 (0:00:00.106) 0:01:35.987 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003365", "end": "2024-10-05 08:59:08.199720", "rc": 0, "start": "2024-10-05 08:59:08.196355" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.392) 0:01:36.379 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.043) 0:01:36.423 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.041) 0:01:36.465 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.069) 0:01:36.534 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.101) 0:01:36.636 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.064) 0:01:36.701 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.060) 0:01:36.761 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.038) 0:01:36.799 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.039) 0:01:36.839 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:10 -0400 (0:00:01.838) 0:01:38.677 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.835) 0:01:39.513 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.036) 0:01:39.550 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.034) 0:01:39.585 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.032) 0:01:39.617 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.066) 0:01:39.683 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.063) 0:01:39.747 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.056) 0:01:39.803 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.062) 0:01:39.865 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.094) 0:01:39.960 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.034) 0:01:39.994 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.031) 0:01:40.026 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.063) 0:01:40.089 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.566) 0:01:40.656 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.060) 0:01:40.716 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.033) 0:01:40.750 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.032) 0:01:40.783 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.574) 0:01:41.357 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.033) 0:01:41.390 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.036) 0:01:41.427 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.091) 0:01:41.518 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.032) 0:01:41.551 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.370) 0:01:41.921 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.043) 0:01:41.965 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.072) 0:01:42.038 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.064) 0:01:42.102 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.057) 0:01:42.159 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.039) 0:01:42.199 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:14 -0400 (0:00:00.037) 0:01:42.237 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:15 -0400 (0:00:01.824) 0:01:44.061 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.722) 0:01:44.783 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.036) 0:01:44.820 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.087) 0:01:44.907 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.033) 0:01:44.940 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.074) 0:01:45.014 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.062) 0:01:45.077 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.057) 0:01:45.134 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.060) 0:01:45.195 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.090) 0:01:45.286 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.034) 0:01:45.321 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.032) 0:01:45.354 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.065) 0:01:45.420 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.564) 0:01:45.984 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.067) 0:01:46.051 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.034) 0:01:46.086 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.033) 0:01:46.119 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.536) 0:01:46.655 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.033) 0:01:46.688 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.038) 0:01:46.726 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 82bd3d4d-0ec3-44bd-abbb-85ee85b8f9b1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.038) 0:01:46.765 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.032) 0:01:46.798 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.418) 0:01:47.216 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.072) 0:01:47.288 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.064) 0:01:47.353 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.059) 0:01:47.412 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.037) 0:01:47.450 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.039) 0:01:47.489 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:21 -0400 (0:00:01.846) 0:01:49.335 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:21 -0400 (0:00:00.730) 0:01:50.066 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.036) 0:01:50.102 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.034) 0:01:50.136 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.032) 0:01:50.169 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.065) 0:01:50.235 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.119) 0:01:50.354 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.052) 0:01:50.407 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.066) 0:01:50.473 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.089) 0:01:50.562 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.034) 0:01:50.597 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.033) 0:01:50.630 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.064) 0:01:50.695 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.568) 0:01:51.263 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.060) 0:01:51.324 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.033) 0:01:51.358 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.033) 0:01:51.391 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.620) 0:01:52.011 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.034) 0:01:52.046 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.044) 0:01:52.090 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.038) 0:01:52.128 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.032) 0:01:52.160 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.368) 0:01:52.529 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.109) 0:01:52.639 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.071) 0:01:52.711 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.066) 0:01:52.777 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.058) 0:01:52.836 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.039) 0:01:52.875 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.038) 0:01:52.914 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:26 -0400 (0:00:01.863) 0:01:54.777 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.715) 0:01:55.493 ****** ok: [managed-node1] => {} 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.037) 0:01:55.531 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.033) 0:01:55.565 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.034) 0:01:55.599 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.064) 0:01:55.664 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.064) 0:01:55.729 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.108) 0:01:55.837 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.061) 0:01:55.898 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.092) 0:01:55.991 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.033) 0:01:56.024 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.034) 0:01:56.059 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.063) 0:01:56.122 ****** ok: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.570) 0:01:56.693 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.065) 0:01:56.759 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.034) 0:01:56.794 ****** skipping: [managed-node1] => { "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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.033) 0:01:56.828 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.540) 0:01:57.368 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.033) 0:01:57.402 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.039) 0:01:57.441 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.038) 0:01:57.480 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.034) 0:01:57.514 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.368) 0:01:57.883 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.066) 0:01:57.949 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:59:29 -0400 (0:00:00.112) 0:01:58.062 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.036) 0:01:58.099 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.353) 0:01:58.452 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.032) 0:01:58.485 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017210", "end": "2024-10-05 08:59:30.695101", "rc": 1, "start": "2024-10-05 08:59:30.677891" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.368) 0:01:58.854 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.034) 0:01:58.888 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.035) 0:01:58.924 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.035) 0:01:58.959 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.034) 0:01:58.994 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.035) 0:01:59.029 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.036) 0:01:59.066 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.169331", "end": "2024-10-05 08:59:31.436058", "rc": 0, "start": "2024-10-05 08:59:31.266727" } STDOUT: NetworkManager-1.48.10-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.528) 0:01:59.595 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.037) 0:01:59.632 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.036) 0:01:59.669 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.082) 0:01:59.752 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.053) 0:01:59.805 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.410) 0:02:00.215 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.039) 0:02:00.255 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.035) 0:02:00.291 ****** included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.069) 0:02:00.360 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034812", "end": "2024-10-05 08:59:32.589731", "rc": 1, "start": "2024-10-05 08:59:32.554919" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.387) 0:02:00.748 ****** ok: [managed-node1] => { "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.008694", "end": "2024-10-05 08:59:32.948688", "rc": 0, "start": "2024-10-05 08:59:32.939994" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:7c:5c:9f:7d:61 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.8.80/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2539sec preferred_lft 2539sec inet6 fe80::107c:5cff:fe9f:7d61/64 scope link noprefixroute valid_lft forever preferred_lft forever 24: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether b2:10:e1:ff:f0:f1 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.80 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.80 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 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: /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 05 October 2024 08:59:33 -0400 (0:00:00.360) 0:02:01.108 ****** ok: [managed-node1] => { "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:00.135619", "end": "2024-10-05 08:59:33.446955", "rc": 0, "start": "2024-10-05 08:59:33.311336" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.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 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 100 305 100 305 0 0 4191 0 --:--:-- --:--:-- --:--:-- 4236 % 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 7276 0 --:--:-- --:--:-- --:--:-- 7275 PLAY RECAP ********************************************************************* managed-node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 05 October 2024 08:59:33 -0400 (0:00:00.548) 0:02:01.657 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.09s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.18s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.99s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.97s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/collections-S7t/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26