ansible-playbook [core 2.17.7] 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-SrI executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 04 January 2025 07:52:20 -0500 (0:00:00.008) 0:00:00.008 ****** [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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 04 January 2025 07:52:21 -0500 (0:00:01.235) 0:00:01.244 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.036) 0:00:01.280 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.036) 0:00:01.317 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.472) 0:00:01.790 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.024) 0:00:01.815 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.015) 0:00:01.830 ****** included: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.045) 0:00:01.876 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.015) 0:00:01.891 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.013) 0:00:01.905 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.014) 0:00:01.919 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.012) 0:00:01.932 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 04 January 2025 07:52:21 -0500 (0:00:00.013) 0:00:01.945 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 04 January 2025 07:52:22 -0500 (0:00:00.019) 0:00:01.965 ****** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 04 January 2025 07:52:22 -0500 (0:00:00.930) 0:00:02.895 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 04 January 2025 07:52:22 -0500 (0:00:00.018) 0:00:02.913 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:52:22 -0500 (0:00:00.026) 0:00:02.940 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:52:23 -0500 (0:00:00.018) 0:00:02.959 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:52:23 -0500 (0:00:00.054) 0:00:03.013 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:52:23 -0500 (0:00:00.023) 0:00:03.037 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:52:23 -0500 (0:00:00.020) 0:00:03.058 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003247", "end": "2025-01-04 07:52:23.525885", "rc": 0, "start": "2025-01-04 07:52:23.522638" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:52:23 -0500 (0:00:00.471) 0:00:03.529 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:52:23 -0500 (0:00:00.020) 0:00:03.550 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:52:23 -0500 (0:00:00.019) 0:00:03.569 ****** included: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 07:52:23 -0500 (0:00:00.038) 0:00:03.607 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008240", "end": "2025-01-04 07:52:24.002897", "rc": 1, "start": "2025-01-04 07:52:23.994657" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.396) 0:00:04.004 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.024) 0:00:04.028 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.378) 0:00:04.407 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.021) 0:00:04.428 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.029) 0:00:04.458 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.048) 0:00:04.507 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.037) 0:00:04.544 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.040) 0:00:04.585 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.022) 0:00:04.608 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:24 -0500 (0:00:00.022) 0:00:04.630 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:27 -0500 (0:00:02.656) 0:00:07.286 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:28 -0500 (0:00:01.179) 0:00:08.466 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.041) 0:00:08.507 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.036) 0:00:08.544 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.036) 0:00:08.581 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.058) 0:00:08.639 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.068) 0:00:08.708 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.061) 0:00:08.769 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:28 -0500 (0:00:00.112) 0:00:08.882 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:29 -0500 (0:00:00.097) 0:00:08.980 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:29 -0500 (0:00:00.038) 0:00:09.018 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:29 -0500 (0:00:00.038) 0:00:09.056 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:29 -0500 (0:00:00.067) 0:00:09.123 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:30 -0500 (0:00:00.841) 0:00:09.965 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:30 -0500 (0:00:00.070) 0:00:10.036 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:30 -0500 (0:00:00.039) 0:00:10.075 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:30 -0500 (0:00:00.037) 0:00:10.112 ****** 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, 9f863434-f27a-4561-861f-760044111317 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:30 -0500 (0:00:00.799) 0:00:10.912 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.038) 0:00:10.951 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f863434-f27a-4561-861f-760044111317" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.042) 0:00:10.994 ****** 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, 9f863434-f27a-4561-861f-760044111317\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f863434-f27a-4561-861f-760044111317" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.043) 0:00:11.037 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.037) 0:00:11.075 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.510) 0:00:11.586 ****** 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, 9f863434-f27a-4561-861f-760044111317\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f863434-f27a-4561-861f-760044111317" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.077) 0:00:11.663 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.071) 0:00:11.735 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.070) 0:00:11.805 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:52:31 -0500 (0:00:00.041) 0:00:11.846 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.404) 0:00:12.251 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.038) 0:00:12.290 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021718", "end": "2025-01-04 07:52:32.693962", "rc": 0, "start": "2025-01-04 07:52:32.672244" } 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.427) 0:00:12.717 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.042) 0:00:12.759 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.039) 0:00:12.799 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.039) 0:00:12.839 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.039) 0:00:12.878 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 07:52:32 -0500 (0:00:00.038) 0:00:12.917 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.064) 0:00:12.982 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.044) 0:00:13.027 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.075) 0:00:13.102 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.095) 0:00:13.198 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.062) 0:00:13.260 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995150.8413107, "block_size": 4096, "blocks": 0, "ctime": 1735995150.8413107, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42699, "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": 1735995150.8413107, "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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.404) 0:00:13.665 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.044) 0:00:13.710 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.041) 0:00:13.752 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:52:33 -0500 (0:00:00.075) 0:00:13.827 ****** 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.062381", "end": "2025-01-04 07:52:34.276923", "rc": 1, "start": "2025-01-04 07:52:34.214542" } STDOUT: Connection 'statebr' (9f863434-f27a-4561-861f-760044111317) 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.475) 0:00:14.303 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.068) 0:00:14.371 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.042) 0:00:14.414 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.076) 0:00:14.491 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.098) 0:00:14.589 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:52:34 -0500 (0:00:00.063) 0:00:14.653 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003673", "end": "2025-01-04 07:52:35.036240", "rc": 0, "start": "2025-01-04 07:52:35.032567" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.411) 0:00:15.064 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.041) 0:00:15.105 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.040) 0:00:15.146 ****** included: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.072) 0:00:15.219 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006520", "end": "2025-01-04 07:52:35.606797", "rc": 1, "start": "2025-01-04 07:52:35.600277" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.411) 0:00:15.630 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:52:35 -0500 (0:00:00.063) 0:00:15.693 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 07:52:36 -0500 (0:00:00.408) 0:00:16.102 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:52:36 -0500 (0:00:00.040) 0:00:16.143 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 04 January 2025 07:52:36 -0500 (0:00:00.099) 0:00:16.242 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:36 -0500 (0:00:00.082) 0:00:16.325 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:36 -0500 (0:00:00.076) 0:00:16.401 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:36 -0500 (0:00:00.067) 0:00:16.468 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:36 -0500 (0:00:00.042) 0:00:16.511 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:36 -0500 (0:00:00.043) 0:00:16.555 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:39 -0500 (0:00:02.551) 0:00:19.107 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.971) 0:00:20.078 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.041) 0:00:20.119 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.037) 0:00:20.157 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.055) 0:00:20.213 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.100) 0:00:20.313 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.070) 0:00:20.384 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.058) 0:00:20.443 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.070) 0:00:20.514 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.101) 0:00:20.615 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.038) 0:00:20.654 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.038) 0:00:20.692 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:40 -0500 (0:00:00.068) 0:00:20.761 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.634) 0:00:21.395 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.071) 0:00:21.466 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.038) 0:00:21.505 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:41 -0500 (0:00:00.036) 0:00:21.541 ****** 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, d38268b0-6e96-421a-82cc-d2890a98abfb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:42 -0500 (0:00:00.609) 0:00:22.151 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:42 -0500 (0:00:00.037) 0:00:22.189 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d38268b0-6e96-421a-82cc-d2890a98abfb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:42 -0500 (0:00:00.042) 0:00:22.231 ****** 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, d38268b0-6e96-421a-82cc-d2890a98abfb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d38268b0-6e96-421a-82cc-d2890a98abfb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:42 -0500 (0:00:00.063) 0:00:22.295 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:42 -0500 (0:00:00.073) 0:00:22.368 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 04 January 2025 07:52:42 -0500 (0:00:00.419) 0:00:22.788 ****** 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, d38268b0-6e96-421a-82cc-d2890a98abfb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d38268b0-6e96-421a-82cc-d2890a98abfb" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:52:42 -0500 (0:00:00.044) 0:00:22.832 ****** included: /tmp/collections-SrI/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-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 07:52:42 -0500 (0:00:00.077) 0:00:22.909 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:52:43 -0500 (0:00:00.061) 0:00:22.971 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 07:52:43 -0500 (0:00:00.404) 0:00:23.376 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 07:52:43 -0500 (0:00:00.042) 0:00:23.419 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:52:43 -0500 (0:00:00.069) 0:00:23.489 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:52:43 -0500 (0:00:00.041) 0:00:23.530 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:52:43 -0500 (0:00:00.399) 0:00:23.930 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.039) 0:00:23.969 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021462", "end": "2025-01-04 07:52:44.373991", "rc": 0, "start": "2025-01-04 07:52:44.352529" } 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.479) 0:00:24.448 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.045) 0:00:24.494 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.042) 0:00:24.536 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.040) 0:00:24.577 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.040) 0:00:24.617 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.039) 0:00:24.657 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.046) 0:00:24.703 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.045) 0:00:24.748 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.042) 0:00:24.791 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.061) 0:00:24.852 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:52:44 -0500 (0:00:00.041) 0:00:24.893 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.072) 0:00:24.966 ****** 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.042521", "end": "2025-01-04 07:52:45.390498", "rc": 1, "start": "2025-01-04 07:52:45.347977" } STDOUT: Connection 'statebr' (d38268b0-6e96-421a-82cc-d2890a98abfb) 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.456) 0:00:25.423 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.068) 0:00:25.491 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.082) 0:00:25.574 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.077) 0:00:25.651 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.062) 0:00:25.714 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:52:45 -0500 (0:00:00.062) 0:00:25.776 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003748", "end": "2025-01-04 07:52:46.158400", "rc": 0, "start": "2025-01-04 07:52:46.154652" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.404) 0:00:26.181 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.042) 0:00:26.224 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.042) 0:00:26.266 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.067) 0:00:26.334 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.095) 0:00:26.429 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.085) 0:00:26.514 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.146) 0:00:26.660 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.045) 0:00:26.706 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:46 -0500 (0:00:00.043) 0:00:26.749 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:49 -0500 (0:00:02.561) 0:00:29.311 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.969) 0:00:30.280 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.043) 0:00:30.324 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.037) 0:00:30.361 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.038) 0:00:30.400 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.061) 0:00:30.461 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.070) 0:00:30.532 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.080) 0:00:30.612 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.069) 0:00:30.682 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.097) 0:00:30.779 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.075) 0:00:30.855 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:50 -0500 (0:00:00.039) 0:00:30.895 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.069) 0:00:30.964 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.646) 0:00:31.611 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.081) 0:00:31.692 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.037) 0:00:31.730 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:51 -0500 (0:00:00.039) 0:00:31.769 ****** 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, 5aba5352-0c92-49e0-a7bc-1965eec765a1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:52 -0500 (0:00:00.646) 0:00:32.416 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:52 -0500 (0:00:00.037) 0:00:32.453 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5aba5352-0c92-49e0-a7bc-1965eec765a1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:52 -0500 (0:00:00.043) 0:00:32.497 ****** 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, 5aba5352-0c92-49e0-a7bc-1965eec765a1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5aba5352-0c92-49e0-a7bc-1965eec765a1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:52 -0500 (0:00:00.044) 0:00:32.541 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:52 -0500 (0:00:00.038) 0:00:32.579 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:52:53 -0500 (0:00:00.427) 0:00:33.007 ****** 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, 5aba5352-0c92-49e0-a7bc-1965eec765a1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5aba5352-0c92-49e0-a7bc-1965eec765a1" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:52:53 -0500 (0:00:00.044) 0:00:33.051 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 07:52:53 -0500 (0:00:00.105) 0:00:33.157 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:52:53 -0500 (0:00:00.084) 0:00:33.242 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:52:53 -0500 (0:00:00.077) 0:00:33.319 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:52:53 -0500 (0:00:00.069) 0:00:33.389 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:52:53 -0500 (0:00:00.044) 0:00:33.434 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:52:53 -0500 (0:00:00.043) 0:00:33.478 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:52:56 -0500 (0:00:02.553) 0:00:36.031 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.970) 0:00:37.001 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.042) 0:00:37.044 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.038) 0:00:37.083 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.077) 0:00:37.160 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.061) 0:00:37.222 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.075) 0:00:37.297 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.060) 0:00:37.358 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.068) 0:00:37.426 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.102) 0:00:37.529 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.039) 0:00:37.568 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.037) 0:00:37.606 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:52:57 -0500 (0:00:00.072) 0:00:37.678 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.643) 0:00:38.322 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.069) 0:00:38.391 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.038) 0:00:38.430 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:52:58 -0500 (0:00:00.038) 0:00:38.469 ****** 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, 5aba5352-0c92-49e0-a7bc-1965eec765a1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:52:59 -0500 (0:00:00.598) 0:00:39.068 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:52:59 -0500 (0:00:00.037) 0:00:39.105 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5aba5352-0c92-49e0-a7bc-1965eec765a1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:52:59 -0500 (0:00:00.043) 0:00:39.149 ****** 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, 5aba5352-0c92-49e0-a7bc-1965eec765a1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5aba5352-0c92-49e0-a7bc-1965eec765a1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:52:59 -0500 (0:00:00.082) 0:00:39.231 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:52:59 -0500 (0:00:00.037) 0:00:39.269 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:52:59 -0500 (0:00:00.420) 0:00:39.690 ****** included: /tmp/collections-SrI/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-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 07:52:59 -0500 (0:00:00.076) 0:00:39.766 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:52:59 -0500 (0:00:00.064) 0:00:39.831 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995172.3455172, "block_size": 4096, "blocks": 0, "ctime": 1735995172.3455172, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42824, "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": 1735995172.3455172, "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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 07:53:00 -0500 (0:00:00.408) 0:00:40.239 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 07:53:00 -0500 (0:00:00.043) 0:00:40.282 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:53:00 -0500 (0:00:00.070) 0:00:40.353 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:53:00 -0500 (0:00:00.041) 0:00:40.394 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:53:00 -0500 (0:00:00.402) 0:00:40.796 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:53:00 -0500 (0:00:00.037) 0:00:40.834 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020674", "end": "2025-01-04 07:53:01.241051", "rc": 0, "start": "2025-01-04 07:53:01.220377" } 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.430) 0:00:41.265 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.086) 0:00:41.351 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.041) 0:00:41.393 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.039) 0:00:41.432 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.041) 0:00:41.474 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.040) 0:00:41.515 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.045) 0:00:41.560 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.045) 0:00:41.606 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.044) 0:00:41.651 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.057) 0:00:41.708 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.043) 0:00:41.752 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:53:01 -0500 (0:00:00.075) 0:00:41.827 ****** 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.059035", "end": "2025-01-04 07:53:02.276667", "rc": 1, "start": "2025-01-04 07:53:02.217632" } STDOUT: Connection 'statebr' (5aba5352-0c92-49e0-a7bc-1965eec765a1) 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.474) 0:00:42.301 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.069) 0:00:42.371 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.042) 0:00:42.413 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.166) 0:00:42.580 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.066) 0:00:42.647 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:53:02 -0500 (0:00:00.062) 0:00:42.709 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004063", "end": "2025-01-04 07:53:03.093595", "rc": 0, "start": "2025-01-04 07:53:03.089532" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.409) 0:00:43.119 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.043) 0:00:43.163 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.042) 0:00:43.205 ****** included: /tmp/collections-SrI/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-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.076) 0:00:43.281 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.085) 0:00:43.367 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.079) 0:00:43.446 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.068) 0:00:43.515 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.082) 0:00:43.597 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:03 -0500 (0:00:00.045) 0:00:43.643 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:06 -0500 (0:00:02.561) 0:00:46.205 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.989) 0:00:47.195 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.043) 0:00:47.238 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.039) 0:00:47.277 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.037) 0:00:47.315 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.064) 0:00:47.380 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.073) 0:00:47.453 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.059) 0:00:47.513 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.071) 0:00:47.584 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.100) 0:00:47.685 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.037) 0:00:47.723 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.079) 0:00:47.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 : Enable and start NetworkManager] ***** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:07 -0500 (0:00:00.071) 0:00:47.874 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.636) 0:00:48.511 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.068) 0:00:48.580 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.039) 0:00:48.619 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:08 -0500 (0:00:00.039) 0:00:48.659 ****** 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, cba62f5a-59e2-4708-9fc5-1ff842999df4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.639) 0:00:49.298 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.038) 0:00:49.337 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cba62f5a-59e2-4708-9fc5-1ff842999df4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.044) 0:00:49.381 ****** 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, cba62f5a-59e2-4708-9fc5-1ff842999df4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cba62f5a-59e2-4708-9fc5-1ff842999df4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.044) 0:00:49.426 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.038) 0:00:49.464 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.422) 0:00:49.887 ****** 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, cba62f5a-59e2-4708-9fc5-1ff842999df4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cba62f5a-59e2-4708-9fc5-1ff842999df4" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 07:53:09 -0500 (0:00:00.043) 0:00:49.931 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.122) 0:00:50.053 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.079) 0:00:50.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 : Check if system is ostree] *********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.071) 0:00:50.204 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.059) 0:00:50.264 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:10 -0500 (0:00:00.045) 0:00:50.309 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:12 -0500 (0:00:02.551) 0:00:52.861 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:13 -0500 (0:00:00.970) 0:00:53.832 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:13 -0500 (0:00:00.043) 0:00:53.875 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:13 -0500 (0:00:00.037) 0:00:53.913 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.039) 0:00:53.953 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.061) 0:00:54.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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.070) 0:00:54.084 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.156) 0:00:54.240 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.071) 0:00:54.312 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.117) 0:00:54.429 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.039) 0:00:54.468 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.039) 0:00:54.508 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:14 -0500 (0:00:00.067) 0:00:54.575 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.641) 0:00:55.216 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.071) 0:00:55.288 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.038) 0:00:55.327 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:15 -0500 (0:00:00.037) 0:00:55.364 ****** 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, cba62f5a-59e2-4708-9fc5-1ff842999df4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.622) 0:00:55.987 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.039) 0:00:56.026 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cba62f5a-59e2-4708-9fc5-1ff842999df4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.043) 0:00:56.069 ****** 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, cba62f5a-59e2-4708-9fc5-1ff842999df4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cba62f5a-59e2-4708-9fc5-1ff842999df4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.043) 0:00:56.113 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.039) 0:00:56.152 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.465) 0:00:56.617 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.071) 0:00:56.688 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.084) 0:00:56.772 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.079) 0:00:56.852 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:16 -0500 (0:00:00.067) 0:00:56.919 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:17 -0500 (0:00:00.044) 0:00:56.963 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:17 -0500 (0:00:00.044) 0:00:57.008 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:19 -0500 (0:00:02.580) 0:00:59.589 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:20 -0500 (0:00:00.970) 0:01:00.559 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:20 -0500 (0:00:00.109) 0:01:00.669 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:20 -0500 (0:00:00.038) 0:01:00.708 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:20 -0500 (0:00:00.041) 0:01:00.749 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:20 -0500 (0:00:00.062) 0:01:00.812 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:20 -0500 (0:00:00.071) 0:01:00.883 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.065) 0:01:00.949 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.072) 0:01:01.021 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.100) 0:01:01.122 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.040) 0:01:01.162 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.039) 0:01:01.202 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.070) 0:01:01.272 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:21 -0500 (0:00:00.641) 0:01:01.913 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:22 -0500 (0:00:00.070) 0:01:01.984 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:22 -0500 (0:00:00.039) 0:01:02.023 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:22 -0500 (0:00:00.038) 0:01:02.062 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:22 -0500 (0:00:00.685) 0:01:02.748 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:22 -0500 (0:00:00.084) 0:01:02.833 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:22 -0500 (0:00:00.043) 0:01:02.876 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:22 -0500 (0:00:00.044) 0:01:02.921 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:23 -0500 (0:00:00.039) 0:01:02.960 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:53:23 -0500 (0:00:00.419) 0:01:03.380 ****** included: /tmp/collections-SrI/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-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 07:53:23 -0500 (0:00:00.080) 0:01:03.460 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:53:23 -0500 (0:00:00.064) 0:01:03.525 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995189.2334301, "block_size": 4096, "blocks": 0, "ctime": 1735995189.2334301, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42949, "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": 1735995189.2334301, "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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 07:53:23 -0500 (0:00:00.401) 0:01:03.927 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 07:53:24 -0500 (0:00:00.043) 0:01:03.970 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:53:24 -0500 (0:00:00.072) 0:01:04.042 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:53:24 -0500 (0:00:00.042) 0:01:04.085 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:53:24 -0500 (0:00:00.406) 0:01:04.491 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:53:24 -0500 (0:00:00.077) 0:01:04.568 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021376", "end": "2025-01-04 07:53:24.973575", "rc": 1, "start": "2025-01-04 07:53:24.952199" } 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.429) 0:01:04.998 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.039) 0:01:05.038 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.040) 0:01:05.079 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.040) 0:01:05.119 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.039) 0:01:05.159 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.040) 0:01:05.199 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.044) 0:01:05.244 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.056) 0:01:05.301 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.042) 0:01:05.343 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.072) 0:01:05.416 ****** 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.065836", "end": "2025-01-04 07:53:25.863347", "rc": 1, "start": "2025-01-04 07:53:25.797511" } STDOUT: Connection 'statebr' (cba62f5a-59e2-4708-9fc5-1ff842999df4) 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 04 January 2025 07:53:25 -0500 (0:00:00.473) 0:01:05.890 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.068) 0:01:05.958 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.042) 0:01:06.001 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.173) 0:01:06.174 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.066) 0:01:06.241 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.063) 0:01:06.304 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003941", "end": "2025-01-04 07:53:26.689297", "rc": 0, "start": "2025-01-04 07:53:26.685356" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.411) 0:01:06.715 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.044) 0:01:06.760 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.060) 0:01:06.820 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:53:26 -0500 (0:00:00.081) 0:01:06.901 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:27 -0500 (0:00:00.083) 0:01:06.985 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:27 -0500 (0:00:00.077) 0:01:07.062 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:27 -0500 (0:00:00.067) 0:01:07.130 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:27 -0500 (0:00:00.083) 0:01:07.214 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:27 -0500 (0:00:00.045) 0:01:07.259 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:29 -0500 (0:00:02.566) 0:01:09.826 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:30 -0500 (0:00:00.977) 0:01:10.803 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:30 -0500 (0:00:00.044) 0:01:10.848 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:30 -0500 (0:00:00.039) 0:01:10.888 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:30 -0500 (0:00:00.042) 0:01:10.930 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:31 -0500 (0:00:00.078) 0:01:11.009 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:31 -0500 (0:00:00.072) 0:01:11.082 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:31 -0500 (0:00:00.059) 0:01:11.141 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:31 -0500 (0:00:00.073) 0:01:11.214 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:31 -0500 (0:00:00.101) 0:01:11.315 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:31 -0500 (0:00:00.038) 0:01:11.353 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:31 -0500 (0:00:00.081) 0:01:11.435 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:31 -0500 (0:00:00.072) 0:01:11.507 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:32 -0500 (0:00:00.643) 0:01:12.151 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:32 -0500 (0:00:00.070) 0:01:12.221 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:32 -0500 (0:00:00.041) 0:01:12.263 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:32 -0500 (0:00:00.041) 0:01:12.304 ****** 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, c13276b7-95b2-4d25-87f2-7b4e3a28ef65 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.647) 0:01:12.951 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.040) 0:01:12.992 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c13276b7-95b2-4d25-87f2-7b4e3a28ef65" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.065) 0:01:13.057 ****** 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, c13276b7-95b2-4d25-87f2-7b4e3a28ef65\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c13276b7-95b2-4d25-87f2-7b4e3a28ef65" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.045) 0:01:13.103 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.039) 0:01:13.142 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.423) 0:01:13.565 ****** 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, c13276b7-95b2-4d25-87f2-7b4e3a28ef65\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c13276b7-95b2-4d25-87f2-7b4e3a28ef65" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.044) 0:01:13.610 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.129) 0:01:13.740 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.080) 0:01:13.820 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.068) 0:01:13.889 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:33 -0500 (0:00:00.046) 0:01:13.935 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:34 -0500 (0:00:00.046) 0:01:13.982 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:36 -0500 (0:00:02.564) 0:01:16.546 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:37 -0500 (0:00:00.974) 0:01:17.520 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:37 -0500 (0:00:00.044) 0:01:17.565 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:37 -0500 (0:00:00.039) 0:01:17.604 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:37 -0500 (0:00:00.040) 0:01:17.644 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:37 -0500 (0:00:00.063) 0:01:17.707 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:37 -0500 (0:00:00.071) 0:01:17.778 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:37 -0500 (0:00:00.160) 0:01:17.939 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:38 -0500 (0:00:00.070) 0:01:18.010 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:38 -0500 (0:00:00.100) 0:01:18.110 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:38 -0500 (0:00:00.041) 0:01:18.152 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:38 -0500 (0:00:00.051) 0:01:18.203 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:38 -0500 (0:00:00.077) 0:01:18.281 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:38 -0500 (0:00:00.644) 0:01:18.926 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:39 -0500 (0:00:00.073) 0:01:18.999 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:39 -0500 (0:00:00.041) 0:01:19.041 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:39 -0500 (0:00:00.038) 0:01:19.080 ****** 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, c13276b7-95b2-4d25-87f2-7b4e3a28ef65 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:39 -0500 (0:00:00.609) 0:01:19.689 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:39 -0500 (0:00:00.040) 0:01:19.730 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c13276b7-95b2-4d25-87f2-7b4e3a28ef65 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:39 -0500 (0:00:00.043) 0:01:19.774 ****** 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, c13276b7-95b2-4d25-87f2-7b4e3a28ef65 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c13276b7-95b2-4d25-87f2-7b4e3a28ef65 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:39 -0500 (0:00:00.046) 0:01:19.820 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:39 -0500 (0:00:00.040) 0:01:19.861 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 07:53:40 -0500 (0:00:00.483) 0:01:20.344 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:40 -0500 (0:00:00.087) 0:01:20.431 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:40 -0500 (0:00:00.077) 0:01:20.509 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:40 -0500 (0:00:00.068) 0:01:20.577 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:40 -0500 (0:00:00.044) 0:01:20.622 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:40 -0500 (0:00:00.044) 0:01:20.667 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:43 -0500 (0:00:02.562) 0:01:23.229 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.971) 0:01:24.200 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.043) 0:01:24.243 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.040) 0:01:24.284 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.039) 0:01:24.324 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.176) 0:01:24.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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.074) 0:01:24.575 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.062) 0:01:24.638 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.069) 0:01:24.707 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.104) 0:01:24.812 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.041) 0:01:24.854 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:44 -0500 (0:00:00.039) 0:01:24.894 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:45 -0500 (0:00:00.074) 0:01:24.968 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:45 -0500 (0:00:00.637) 0:01:25.605 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:45 -0500 (0:00:00.069) 0:01:25.675 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:45 -0500 (0:00:00.039) 0:01:25.715 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:45 -0500 (0:00:00.040) 0:01:25.755 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:46 -0500 (0:00:00.629) 0:01:26.385 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:46 -0500 (0:00:00.038) 0:01:26.423 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:46 -0500 (0:00:00.044) 0:01:26.467 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:46 -0500 (0:00:00.115) 0:01:26.583 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:46 -0500 (0:00:00.039) 0:01:26.622 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:53:47 -0500 (0:00:00.423) 0:01:27.046 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 07:53:47 -0500 (0:00:00.072) 0:01:27.119 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:47 -0500 (0:00:00.085) 0:01:27.204 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:47 -0500 (0:00:00.077) 0:01:27.281 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:47 -0500 (0:00:00.070) 0:01:27.352 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:47 -0500 (0:00:00.045) 0:01:27.397 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:47 -0500 (0:00:00.043) 0:01:27.440 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:53:50 -0500 (0:00:02.570) 0:01:30.011 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:53:51 -0500 (0:00:01.064) 0:01:31.076 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.044) 0:01:31.120 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.039) 0:01:31.159 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.037) 0:01:31.197 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.064) 0:01:31.262 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.073) 0:01:31.335 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.060) 0:01:31.396 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.068) 0:01:31.465 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.102) 0:01:31.567 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.039) 0:01:31.606 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.038) 0:01:31.645 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:53:51 -0500 (0:00:00.092) 0:01:31.737 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:53:52 -0500 (0:00:00.634) 0:01:32.372 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:53:52 -0500 (0:00:00.068) 0:01:32.440 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:53:52 -0500 (0:00:00.039) 0:01:32.480 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:53:52 -0500 (0:00:00.087) 0:01:32.568 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.687) 0:01:33.255 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.040) 0:01:33.296 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.044) 0:01:33.340 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.044) 0:01:33.385 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.039) 0:01:33.425 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.424) 0:01:33.850 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.072) 0:01:33.922 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.069) 0:01:33.992 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.042) 0:01:34.034 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.399) 0:01:34.433 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.038) 0:01:34.472 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020180", "end": "2025-01-04 07:53:54.870532", "rc": 1, "start": "2025-01-04 07:53:54.850352" } 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.420) 0:01:34.893 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.088) 0:01:34.981 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.041) 0:01:35.023 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.039) 0:01:35.063 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.039) 0:01:35.102 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.040) 0:01:35.143 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.045) 0:01:35.188 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.095) 0:01:35.284 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.064) 0:01:35.348 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.399) 0:01:35.747 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.044) 0:01:35.792 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.064) 0:01:35.856 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:53:55 -0500 (0:00:00.072) 0:01:35.929 ****** 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.041020", "end": "2025-01-04 07:53:56.351928", "rc": 1, "start": "2025-01-04 07:53:56.310908" } 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 04 January 2025 07:53:56 -0500 (0:00:00.494) 0:01:36.423 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 07:53:56 -0500 (0:00:00.069) 0:01:36.493 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 07:53:56 -0500 (0:00:00.042) 0:01:36.536 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 07:53:56 -0500 (0:00:00.079) 0:01:36.615 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 07:53:56 -0500 (0:00:00.063) 0:01:36.679 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 07:53:56 -0500 (0:00:00.064) 0:01:36.743 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003434", "end": "2025-01-04 07:53:57.135731", "rc": 0, "start": "2025-01-04 07:53:57.132297" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.418) 0:01:37.162 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.045) 0:01:37.207 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.044) 0:01:37.251 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.078) 0:01:37.329 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.131) 0:01:37.461 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.080) 0:01:37.541 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.072) 0:01:37.613 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.045) 0:01:37.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 : Check which services are running] **** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:53:57 -0500 (0:00:00.045) 0:01:37.704 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:54:00 -0500 (0:00:02.558) 0:01:40.263 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.974) 0:01:41.237 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.045) 0:01:41.283 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.039) 0:01:41.322 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.040) 0:01:41.363 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.063) 0:01:41.426 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.072) 0:01:41.498 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.108) 0:01:41.606 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.072) 0:01:41.679 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.099) 0:01:41.779 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.040) 0:01:41.820 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.039) 0:01:41.860 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:54:01 -0500 (0:00:00.070) 0:01:41.930 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:54:02 -0500 (0:00:00.647) 0:01:42.578 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:54:02 -0500 (0:00:00.069) 0:01:42.648 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:54:02 -0500 (0:00:00.037) 0:01:42.686 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:54:02 -0500 (0:00:00.039) 0:01:42.725 ****** 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, 6959ce48-1bc2-4654-a71a-a1315d38331b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:54:03 -0500 (0:00:00.652) 0:01:43.377 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:54:03 -0500 (0:00:00.037) 0:01:43.415 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6959ce48-1bc2-4654-a71a-a1315d38331b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:54:03 -0500 (0:00:00.044) 0:01:43.460 ****** 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, 6959ce48-1bc2-4654-a71a-a1315d38331b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6959ce48-1bc2-4654-a71a-a1315d38331b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:54:03 -0500 (0:00:00.045) 0:01:43.505 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:54:03 -0500 (0:00:00.037) 0:01:43.543 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 07:54:04 -0500 (0:00:00.476) 0:01:44.020 ****** 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, 6959ce48-1bc2-4654-a71a-a1315d38331b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6959ce48-1bc2-4654-a71a-a1315d38331b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 07:54:04 -0500 (0:00:00.046) 0:01:44.066 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:54:04 -0500 (0:00:00.107) 0:01:44.174 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:54:04 -0500 (0:00:00.080) 0:01:44.255 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:54:04 -0500 (0:00:00.070) 0:01:44.325 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:54:04 -0500 (0:00:00.044) 0:01:44.370 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:54:04 -0500 (0:00:00.046) 0:01:44.416 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:54:07 -0500 (0:00:02.563) 0:01:46.979 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:54:07 -0500 (0:00:00.965) 0:01:47.945 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.044) 0:01:47.990 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.089) 0:01:48.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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.039) 0:01:48.119 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.067) 0:01:48.187 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.094) 0:01:48.281 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.060) 0:01:48.342 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.075) 0:01:48.417 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.104) 0:01:48.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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.040) 0:01:48.562 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.040) 0:01:48.603 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.071) 0:01:48.674 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:54:09 -0500 (0:00:00.651) 0:01:49.326 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:54:09 -0500 (0:00:00.071) 0:01:49.397 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:54:09 -0500 (0:00:00.041) 0:01:49.438 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:54:09 -0500 (0:00:00.041) 0:01:49.480 ****** 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, 6959ce48-1bc2-4654-a71a-a1315d38331b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.652) 0:01:50.132 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.040) 0:01:50.173 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6959ce48-1bc2-4654-a71a-a1315d38331b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.096) 0:01:50.269 ****** 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, 6959ce48-1bc2-4654-a71a-a1315d38331b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6959ce48-1bc2-4654-a71a-a1315d38331b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.049) 0:01:50.318 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.057) 0:01:50.376 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.423) 0:01:50.799 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.087) 0:01:50.886 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.080) 0:01:50.966 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.068) 0:01:51.035 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.046) 0:01:51.081 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.045) 0:01:51.127 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:54:13 -0500 (0:00:02.549) 0:01:53.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 : Print network provider] ************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:54:14 -0500 (0:00:01.067) 0:01:54.744 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:54:14 -0500 (0:00:00.044) 0:01:54.789 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:54:14 -0500 (0:00:00.038) 0:01:54.827 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:54:14 -0500 (0:00:00.039) 0:01:54.867 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:54:14 -0500 (0:00:00.061) 0:01:54.928 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.071) 0:01:55.000 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.064) 0:01:55.064 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.070) 0:01:55.135 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.098) 0:01:55.234 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.038) 0:01:55.273 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.039) 0:01:55.312 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.066) 0:01:55.379 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:54:16 -0500 (0:00:00.640) 0:01:56.019 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:54:16 -0500 (0:00:00.069) 0:01:56.089 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:54:16 -0500 (0:00:00.038) 0:01:56.128 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:54:16 -0500 (0:00:00.038) 0:01:56.167 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.790) 0:01:56.957 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.040) 0:01:56.997 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.043) 0:01:57.040 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.044) 0:01:57.085 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.038) 0:01:57.123 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.423) 0:01:57.547 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.090) 0:01:57.638 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.084) 0:01:57.722 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.078) 0:01:57.801 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.068) 0:01:57.869 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.044) 0:01:57.914 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 07:54:18 -0500 (0:00:00.087) 0:01:58.002 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 07:54:20 -0500 (0:00:02.553) 0:02:00.555 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 07:54:21 -0500 (0:00:00.980) 0:02:01.535 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 07:54:21 -0500 (0:00:00.043) 0:02:01.579 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 07:54:21 -0500 (0:00:00.038) 0:02:01.617 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 07:54:21 -0500 (0:00:00.037) 0:02:01.655 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 07:54:21 -0500 (0:00:00.083) 0:02:01.738 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 07:54:21 -0500 (0:00:00.072) 0:02:01.810 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 07:54:21 -0500 (0:00:00.065) 0:02:01.876 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 07:54:21 -0500 (0:00:00.069) 0:02:01.946 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 07:54:22 -0500 (0:00:00.100) 0:02:02.046 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 07:54:22 -0500 (0:00:00.040) 0:02:02.086 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 07:54:22 -0500 (0:00:00.039) 0:02:02.126 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 07:54:22 -0500 (0:00:00.069) 0:02:02.196 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 07:54:22 -0500 (0:00:00.748) 0:02:02.944 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 07:54:23 -0500 (0:00:00.073) 0:02:03.017 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 07:54:23 -0500 (0:00:00.040) 0:02:03.058 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 07:54:23 -0500 (0:00:00.040) 0:02:03.099 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 07:54:23 -0500 (0:00:00.621) 0:02:03.721 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 07:54:23 -0500 (0:00:00.040) 0:02:03.761 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 07:54:23 -0500 (0:00:00.065) 0:02:03.827 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 07:54:23 -0500 (0:00:00.045) 0:02:03.872 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 07:54:23 -0500 (0:00:00.039) 0:02:03.912 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 07:54:24 -0500 (0:00:00.421) 0:02:04.334 ****** included: /tmp/collections-SrI/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-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 07:54:24 -0500 (0:00:00.081) 0:02:04.415 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 07:54:24 -0500 (0:00:00.069) 0:02:04.484 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 07:54:24 -0500 (0:00:00.089) 0:02:04.574 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.401) 0:02:04.976 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.039) 0:02:05.015 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020620", "end": "2025-01-04 07:54:25.415797", "rc": 1, "start": "2025-01-04 07:54:25.395177" } 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.424) 0:02:05.440 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.039) 0:02:05.479 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.041) 0:02:05.520 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.041) 0:02:05.562 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.041) 0:02:05.603 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.039) 0:02:05.643 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 04 January 2025 07:54:25 -0500 (0:00:00.044) 0:02:05.687 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.341295", "end": "2025-01-04 07:54:26.406854", "rc": 0, "start": "2025-01-04 07:54:26.065559" } STDOUT: NetworkManager-1.46.2-1.fc40 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 04 January 2025 07:54:26 -0500 (0:00:00.746) 0:02:06.434 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.46.2-1.fc40" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 04 January 2025 07:54:26 -0500 (0:00:00.042) 0:02:06.476 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.46.2-1.fc40" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 07:54:26 -0500 (0:00:00.043) 0:02:06.520 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 07:54:26 -0500 (0:00:00.098) 0:02:06.619 ****** included: /tmp/collections-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 07:54:26 -0500 (0:00:00.116) 0:02:06.735 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 07:54:27 -0500 (0:00:00.406) 0:02:07.142 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 07:54:27 -0500 (0:00:00.044) 0:02:07.186 ****** 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 07:54:27 -0500 (0:00:00.043) 0:02:07.230 ****** included: /tmp/collections-SrI/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-SrI/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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 07:54:27 -0500 (0:00:00.084) 0:02:07.314 ****** 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.039566", "end": "2025-01-04 07:54:27.733750", "rc": 1, "start": "2025-01-04 07:54:27.694184" } 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-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 04 January 2025 07:54:27 -0500 (0:00:00.443) 0:02:07.758 ****** 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.008888", "end": "2025-01-04 07:54:28.143763", "rc": 0, "start": "2025-01-04 07:54:28.134875" } 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 02:13:98:b2:61:7b brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.44.204/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2528sec preferred_lft 2528sec inet6 fe80::13:98ff:feb2:617b/64 scope link noprefixroute valid_lft forever preferred_lft forever 37: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 7e:43:fb:71:44:62 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.44.1 dev eth0 proto dhcp src 10.31.44.204 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.204 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 # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 04 January 2025 07:54:28 -0500 (0:00:00.410) 0:02:08.168 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node1 : ok=332 changed=10 unreachable=0 failed=0 skipped=314 rescued=0 ignored=11 TASKS RECAP ******************************************************************** Saturday 04 January 2025 07:54:28 -0500 (0:00:00.021) 0:02:08.190 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.66s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.58s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.57s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.57s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.24s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.18s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.07s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.06s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/collections-SrI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26