ansible-playbook [core 2.17.6] 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-8Vu executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Oct 29 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-2)] (/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-8Vu/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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 30 November 2024 07:48:14 -0500 (0:00:00.010) 0:00:00.010 ***** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 30 November 2024 07:48:15 -0500 (0:00:01.311) 0:00:01.322 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 30 November 2024 07:48:15 -0500 (0:00:00.036) 0:00:01.359 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 30 November 2024 07:48:16 -0500 (0:00:00.634) 0:00:01.993 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 30 November 2024 07:48:16 -0500 (0:00:00.453) 0:00:02.447 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 30 November 2024 07:48:16 -0500 (0:00:00.028) 0:00:02.476 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 30 November 2024 07:48:16 -0500 (0:00:00.024) 0:00:02.500 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 30 November 2024 07:48:17 -0500 (0:00:00.065) 0:00:02.565 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 30 November 2024 07:48:17 -0500 (0:00:00.023) 0:00:02.588 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 30 November 2024 07:48:17 -0500 (0:00:00.022) 0:00:02.611 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 30 November 2024 07:48:17 -0500 (0:00:00.022) 0:00:02.634 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 30 November 2024 07:48:17 -0500 (0:00:00.023) 0:00:02.657 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 30 November 2024 07:48:17 -0500 (0:00:00.022) 0:00:02.679 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 30 November 2024 07:48:17 -0500 (0:00:00.029) 0:00:02.709 ***** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.857) 0:00:03.566 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.020) 0:00:03.587 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.026) 0:00:03.614 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.027) 0:00:03.641 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.081) 0:00:03.723 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.033) 0:00:03.756 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.019) 0:00:03.776 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003724", "end": "2024-11-30 07:48:18.642028", "rc": 0, "start": "2024-11-30 07:48:18.638304" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.473) 0:00:04.249 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.020) 0:00:04.270 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.018) 0:00:04.288 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:48:18 -0500 (0:00:00.032) 0:00:04.320 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007833", "end": "2024-11-30 07:48:19.078098", "rc": 1, "start": "2024-11-30 07:48:19.070265" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.367) 0:00:04.688 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.021) 0:00:04.710 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.385) 0:00:05.096 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.034) 0:00:05.131 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.045) 0:00:05.176 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.066) 0:00:05.243 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.053) 0:00:05.296 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.055) 0:00:05.351 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.032) 0:00:05.383 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:48:19 -0500 (0:00:00.030) 0:00:05.414 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:48:21 -0500 (0:00:02.128) 0:00:07.542 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:48:23 -0500 (0:00:01.032) 0:00:08.574 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.056) 0:00:08.630 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.034) 0:00:08.665 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.051) 0:00:08.716 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.112) 0:00:08.829 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.125) 0:00:08.955 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.128) 0:00:09.083 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.113) 0:00:09.197 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.135) 0:00:09.332 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.046) 0:00:09.379 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.062) 0:00:09.441 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:48:23 -0500 (0:00:00.060) 0:00:09.502 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:48:24 -0500 (0:00:00.825) 0:00:10.327 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:48:24 -0500 (0:00:00.098) 0:00:10.425 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:48:24 -0500 (0:00:00.049) 0:00:10.475 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:48:24 -0500 (0:00:00.049) 0:00:10.524 ***** changed: [managed-node2] => { "_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, 7171d754-bfa8-421a-83cf-0d4113e67006 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:48:25 -0500 (0:00:00.812) 0:00:11.336 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:48:25 -0500 (0:00:00.035) 0:00:11.372 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7171d754-bfa8-421a-83cf-0d4113e67006" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:48:25 -0500 (0:00:00.042) 0:00:11.415 ***** ok: [managed-node2] => { "__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, 7171d754-bfa8-421a-83cf-0d4113e67006\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7171d754-bfa8-421a-83cf-0d4113e67006" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:48:25 -0500 (0:00:00.037) 0:00:11.452 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:48:25 -0500 (0:00:00.031) 0:00:11.484 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:48:26 -0500 (0:00:00.462) 0:00:11.946 ***** ok: [managed-node2] => { "__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, 7171d754-bfa8-421a-83cf-0d4113e67006\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7171d754-bfa8-421a-83cf-0d4113e67006" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:48:26 -0500 (0:00:00.040) 0:00:11.986 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:48:26 -0500 (0:00:00.083) 0:00:12.069 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:48:26 -0500 (0:00:00.093) 0:00:12.163 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:48:26 -0500 (0:00:00.103) 0:00:12.267 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.443) 0:00:12.710 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.072) 0:00:12.782 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018681", "end": "2024-11-30 07:48:27.606882", "rc": 0, "start": "2024-11-30 07:48:27.588201" } 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.450) 0:00:13.233 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.041) 0:00:13.274 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.034) 0:00:13.309 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.032) 0:00:13.341 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.035) 0:00:13.377 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.034) 0:00:13.411 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.052) 0:00:13.463 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:48:27 -0500 (0:00:00.052) 0:00:13.515 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:48:28 -0500 (0:00:00.060) 0:00:13.576 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:48:28 -0500 (0:00:00.160) 0:00:13.737 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:48:28 -0500 (0:00:00.190) 0:00:13.927 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732970905.66085, "block_size": 4096, "blocks": 0, "ctime": 1732970905.66085, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31549, "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": 1732970905.66085, "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:48:28 -0500 (0:00:00.506) 0:00:14.434 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:48:28 -0500 (0:00:00.061) 0:00:14.495 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:48:28 -0500 (0:00:00.055) 0:00:14.550 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:48:29 -0500 (0:00:00.145) 0:00:14.695 ***** fatal: [managed-node2]: 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.061976", "end": "2024-11-30 07:48:29.534493", "rc": 1, "start": "2024-11-30 07:48:29.472517" } STDOUT: Connection 'statebr' (7171d754-bfa8-421a-83cf-0d4113e67006) 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 30 November 2024 07:48:29 -0500 (0:00:00.459) 0:00:15.154 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:48:29 -0500 (0:00:00.055) 0:00:15.210 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:48:29 -0500 (0:00:00.034) 0:00:15.245 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:48:29 -0500 (0:00:00.067) 0:00:15.313 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:48:29 -0500 (0:00:00.056) 0:00:15.369 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:48:29 -0500 (0:00:00.069) 0:00:15.438 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003644", "end": "2024-11-30 07:48:30.220223", "rc": 0, "start": "2024-11-30 07:48:30.216579" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:48:30 -0500 (0:00:00.407) 0:00:15.846 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:48:30 -0500 (0:00:00.034) 0:00:15.881 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:48:30 -0500 (0:00:00.036) 0:00:15.917 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:48:30 -0500 (0:00:00.075) 0:00:15.993 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007090", "end": "2024-11-30 07:48:30.757323", "rc": 1, "start": "2024-11-30 07:48:30.750233" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:48:30 -0500 (0:00:00.406) 0:00:16.400 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:48:30 -0500 (0:00:00.125) 0:00:16.525 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:48:31 -0500 (0:00:00.385) 0:00:16.910 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:48:31 -0500 (0:00:00.047) 0:00:16.957 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 30 November 2024 07:48:31 -0500 (0:00:00.091) 0:00:17.049 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:48:31 -0500 (0:00:00.080) 0:00:17.130 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:48:31 -0500 (0:00:00.061) 0:00:17.192 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:48:31 -0500 (0:00:00.056) 0:00:17.248 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:48:31 -0500 (0:00:00.035) 0:00:17.284 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:48:31 -0500 (0:00:00.036) 0:00:17.320 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:48:33 -0500 (0:00:01.855) 0:00:19.176 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.751) 0:00:19.927 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.035) 0:00:19.962 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.066) 0:00:20.029 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.031) 0:00:20.061 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.070) 0:00:20.131 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.072) 0:00:20.203 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.053) 0:00:20.257 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.059) 0:00:20.316 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.089) 0:00:20.406 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.032) 0:00:20.439 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.032) 0:00:20.471 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:48:34 -0500 (0:00:00.061) 0:00:20.532 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:48:35 -0500 (0:00:00.580) 0:00:21.112 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:48:35 -0500 (0:00:00.061) 0:00:21.174 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:48:35 -0500 (0:00:00.045) 0:00:21.220 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:48:35 -0500 (0:00:00.031) 0:00:21.252 ***** changed: [managed-node2] => { "_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, 9c66d97f-0290-408b-ba77-f24c777055d6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:48:36 -0500 (0:00:00.543) 0:00:21.795 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:48:36 -0500 (0:00:00.032) 0:00:21.827 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c66d97f-0290-408b-ba77-f24c777055d6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:48:36 -0500 (0:00:00.037) 0:00:21.865 ***** ok: [managed-node2] => { "__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, 9c66d97f-0290-408b-ba77-f24c777055d6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c66d97f-0290-408b-ba77-f24c777055d6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:48:36 -0500 (0:00:00.039) 0:00:21.904 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:48:36 -0500 (0:00:00.032) 0:00:21.937 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 30 November 2024 07:48:36 -0500 (0:00:00.439) 0:00:22.377 ***** ok: [managed-node2] => { "__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, 9c66d97f-0290-408b-ba77-f24c777055d6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c66d97f-0290-408b-ba77-f24c777055d6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:48:36 -0500 (0:00:00.060) 0:00:22.438 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:48:36 -0500 (0:00:00.105) 0:00:22.544 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:48:37 -0500 (0:00:00.081) 0:00:22.625 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:48:37 -0500 (0:00:00.406) 0:00:23.032 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:48:37 -0500 (0:00:00.058) 0:00:23.091 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:48:37 -0500 (0:00:00.090) 0:00:23.182 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:48:37 -0500 (0:00:00.054) 0:00:23.237 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.410) 0:00:23.648 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.029) 0:00:23.678 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019147", "end": "2024-11-30 07:48:38.442154", "rc": 0, "start": "2024-11-30 07:48:38.423007" } 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.404) 0:00:24.082 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.060) 0:00:24.143 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.054) 0:00:24.198 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.055) 0:00:24.254 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.037) 0:00:24.292 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.097) 0:00:24.390 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.041) 0:00:24.431 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.038) 0:00:24.470 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:48:38 -0500 (0:00:00.036) 0:00:24.507 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.048) 0:00:24.556 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.035) 0:00:24.592 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.060) 0:00:24.652 ***** fatal: [managed-node2]: 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.035778", "end": "2024-11-30 07:48:39.426653", "rc": 1, "start": "2024-11-30 07:48:39.390875" } STDOUT: Connection 'statebr' (9c66d97f-0290-408b-ba77-f24c777055d6) 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.400) 0:00:25.052 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.068) 0:00:25.121 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.039) 0:00:25.160 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.066) 0:00:25.227 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.052) 0:00:25.279 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:48:39 -0500 (0:00:00.050) 0:00:25.330 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003386", "end": "2024-11-30 07:48:40.098943", "rc": 0, "start": "2024-11-30 07:48:40.095557" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.387) 0:00:25.717 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.076) 0:00:25.793 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.035) 0:00:25.829 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.056) 0:00:25.885 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.070) 0:00:25.957 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.064) 0:00:26.021 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.057) 0:00:26.079 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.037) 0:00:26.116 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:48:40 -0500 (0:00:00.037) 0:00:26.154 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:48:42 -0500 (0:00:01.815) 0:00:27.969 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.729) 0:00:28.699 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.037) 0:00:28.737 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.042) 0:00:28.779 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.100) 0:00:28.880 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.073) 0:00:28.954 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.073) 0:00:29.027 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.051) 0:00:29.078 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.063) 0:00:29.142 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.087) 0:00:29.229 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.034) 0:00:29.264 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.032) 0:00:29.297 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:48:43 -0500 (0:00:00.059) 0:00:29.357 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:48:44 -0500 (0:00:00.608) 0:00:29.966 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:48:44 -0500 (0:00:00.059) 0:00:30.025 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:48:44 -0500 (0:00:00.032) 0:00:30.058 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:48:44 -0500 (0:00:00.032) 0:00:30.090 ***** changed: [managed-node2] => { "_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, 85014bf0-1077-48d9-8b67-7e9c9707d2f3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:48:45 -0500 (0:00:00.596) 0:00:30.687 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:48:45 -0500 (0:00:00.051) 0:00:30.739 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85014bf0-1077-48d9-8b67-7e9c9707d2f3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:48:45 -0500 (0:00:00.056) 0:00:30.796 ***** ok: [managed-node2] => { "__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, 85014bf0-1077-48d9-8b67-7e9c9707d2f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85014bf0-1077-48d9-8b67-7e9c9707d2f3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:48:45 -0500 (0:00:00.058) 0:00:30.854 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:48:45 -0500 (0:00:00.051) 0:00:30.906 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:48:45 -0500 (0:00:00.497) 0:00:31.403 ***** ok: [managed-node2] => { "__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, 85014bf0-1077-48d9-8b67-7e9c9707d2f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85014bf0-1077-48d9-8b67-7e9c9707d2f3" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:48:45 -0500 (0:00:00.064) 0:00:31.468 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:48:46 -0500 (0:00:00.096) 0:00:31.565 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:48:46 -0500 (0:00:00.073) 0:00:31.638 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:48:46 -0500 (0:00:00.077) 0:00:31.716 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:48:46 -0500 (0:00:00.062) 0:00:31.778 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:48:46 -0500 (0:00:00.036) 0:00:31.815 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:48:46 -0500 (0:00:00.036) 0:00:31.852 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:48:48 -0500 (0:00:01.829) 0:00:33.681 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:48:48 -0500 (0:00:00.780) 0:00:34.461 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:48:48 -0500 (0:00:00.038) 0:00:34.499 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:48:48 -0500 (0:00:00.030) 0:00:34.530 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.069) 0:00:34.600 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.081) 0:00:34.681 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.094) 0:00:34.776 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.084) 0:00:34.860 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.104) 0:00:34.965 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.147) 0:00:35.112 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.055) 0:00:35.168 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.057) 0:00:35.225 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:48:49 -0500 (0:00:00.096) 0:00:35.322 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:48:50 -0500 (0:00:00.639) 0:00:35.961 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:48:50 -0500 (0:00:00.060) 0:00:36.022 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:48:50 -0500 (0:00:00.031) 0:00:36.054 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:48:50 -0500 (0:00:00.033) 0:00:36.088 ***** ok: [managed-node2] => { "_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, 85014bf0-1077-48d9-8b67-7e9c9707d2f3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:48:51 -0500 (0:00:00.531) 0:00:36.619 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:48:51 -0500 (0:00:00.044) 0:00:36.664 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85014bf0-1077-48d9-8b67-7e9c9707d2f3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:48:51 -0500 (0:00:00.058) 0:00:36.723 ***** ok: [managed-node2] => { "__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, 85014bf0-1077-48d9-8b67-7e9c9707d2f3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85014bf0-1077-48d9-8b67-7e9c9707d2f3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:48:51 -0500 (0:00:00.066) 0:00:36.789 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:48:51 -0500 (0:00:00.052) 0:00:36.841 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:48:51 -0500 (0:00:00.418) 0:00:37.260 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:48:51 -0500 (0:00:00.082) 0:00:37.343 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:48:51 -0500 (0:00:00.060) 0:00:37.403 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732970925.0079846, "block_size": 4096, "blocks": 0, "ctime": 1732970925.0079846, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31674, "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": 1732970925.0079846, "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:48:52 -0500 (0:00:00.377) 0:00:37.781 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:48:52 -0500 (0:00:00.045) 0:00:37.826 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:48:52 -0500 (0:00:00.120) 0:00:37.946 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:48:52 -0500 (0:00:00.057) 0:00:38.004 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:48:52 -0500 (0:00:00.396) 0:00:38.400 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:48:52 -0500 (0:00:00.034) 0:00:38.435 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019834", "end": "2024-11-30 07:48:53.200711", "rc": 0, "start": "2024-11-30 07:48:53.180877" } 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.384) 0:00:38.820 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.048) 0:00:38.868 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.048) 0:00:38.916 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.055) 0:00:38.972 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.054) 0:00:39.026 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.053) 0:00:39.080 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.059) 0:00:39.140 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.108) 0:00:39.248 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.059) 0:00:39.307 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.076) 0:00:39.384 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.057) 0:00:39.442 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:48:53 -0500 (0:00:00.096) 0:00:39.538 ***** fatal: [managed-node2]: 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.059230", "end": "2024-11-30 07:48:54.362848", "rc": 1, "start": "2024-11-30 07:48:54.303618" } STDOUT: Connection 'statebr' (85014bf0-1077-48d9-8b67-7e9c9707d2f3) 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 30 November 2024 07:48:54 -0500 (0:00:00.442) 0:00:39.981 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:48:54 -0500 (0:00:00.068) 0:00:40.050 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:48:54 -0500 (0:00:00.040) 0:00:40.091 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:48:54 -0500 (0:00:00.070) 0:00:40.161 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:48:54 -0500 (0:00:00.052) 0:00:40.214 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:48:54 -0500 (0:00:00.051) 0:00:40.266 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003825", "end": "2024-11-30 07:48:55.011536", "rc": 0, "start": "2024-11-30 07:48:55.007711" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.363) 0:00:40.630 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.037) 0:00:40.667 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.033) 0:00:40.701 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.101) 0:00:40.803 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.102) 0:00:40.905 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.122) 0:00:41.027 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.068) 0:00:41.095 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.042) 0:00:41.138 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:48:55 -0500 (0:00:00.041) 0:00:41.179 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:48:57 -0500 (0:00:01.777) 0:00:42.956 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.775) 0:00:43.732 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.064) 0:00:43.796 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.059) 0:00:43.856 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.056) 0:00:43.913 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.092) 0:00:44.005 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.122) 0:00:44.127 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.060) 0:00:44.187 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.065) 0:00:44.253 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.089) 0:00:44.342 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.033) 0:00:44.376 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.032) 0:00:44.408 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:48:58 -0500 (0:00:00.060) 0:00:44.469 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:48:59 -0500 (0:00:00.601) 0:00:45.071 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:48:59 -0500 (0:00:00.117) 0:00:45.188 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:48:59 -0500 (0:00:00.055) 0:00:45.243 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:48:59 -0500 (0:00:00.043) 0:00:45.287 ***** changed: [managed-node2] => { "_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, ef07e829-2490-46b8-a785-41b712ef490e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:00 -0500 (0:00:00.618) 0:00:45.906 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:00 -0500 (0:00:00.057) 0:00:45.964 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef07e829-2490-46b8-a785-41b712ef490e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:00 -0500 (0:00:00.043) 0:00:46.007 ***** ok: [managed-node2] => { "__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, ef07e829-2490-46b8-a785-41b712ef490e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef07e829-2490-46b8-a785-41b712ef490e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:00 -0500 (0:00:00.044) 0:00:46.051 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:00 -0500 (0:00:00.036) 0:00:46.088 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:49:00 -0500 (0:00:00.381) 0:00:46.469 ***** ok: [managed-node2] => { "__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, ef07e829-2490-46b8-a785-41b712ef490e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef07e829-2490-46b8-a785-41b712ef490e" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:49:00 -0500 (0:00:00.037) 0:00:46.506 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:01 -0500 (0:00:00.117) 0:00:46.624 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:01 -0500 (0:00:00.078) 0:00:46.703 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:01 -0500 (0:00:00.070) 0:00:46.774 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:01 -0500 (0:00:00.041) 0:00:46.816 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:01 -0500 (0:00:00.038) 0:00:46.855 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:03 -0500 (0:00:01.820) 0:00:48.675 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:03 -0500 (0:00:00.734) 0:00:49.410 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:03 -0500 (0:00:00.040) 0:00:49.450 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:03 -0500 (0:00:00.042) 0:00:49.493 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:03 -0500 (0:00:00.038) 0:00:49.532 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:04 -0500 (0:00:00.075) 0:00:49.607 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:04 -0500 (0:00:00.074) 0:00:49.681 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:04 -0500 (0:00:00.055) 0:00:49.737 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:04 -0500 (0:00:00.101) 0:00:49.838 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:04 -0500 (0:00:00.088) 0:00:49.927 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:04 -0500 (0:00:00.034) 0:00:49.962 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:04 -0500 (0:00:00.032) 0:00:49.994 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:04 -0500 (0:00:00.063) 0:00:50.058 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:05 -0500 (0:00:00.591) 0:00:50.649 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:05 -0500 (0:00:00.063) 0:00:50.712 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:05 -0500 (0:00:00.032) 0:00:50.745 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:05 -0500 (0:00:00.032) 0:00:50.777 ***** ok: [managed-node2] => { "_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, ef07e829-2490-46b8-a785-41b712ef490e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:05 -0500 (0:00:00.599) 0:00:51.376 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:05 -0500 (0:00:00.075) 0:00:51.452 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ef07e829-2490-46b8-a785-41b712ef490e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:05 -0500 (0:00:00.059) 0:00:51.512 ***** ok: [managed-node2] => { "__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, ef07e829-2490-46b8-a785-41b712ef490e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ef07e829-2490-46b8-a785-41b712ef490e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.067) 0:00:51.579 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.057) 0:00:51.637 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.443) 0:00:52.080 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.098) 0:00:52.179 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.132) 0:00:52.311 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.073) 0:00:52.385 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.074) 0:00:52.460 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.040) 0:00:52.500 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:06 -0500 (0:00:00.037) 0:00:52.537 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:08 -0500 (0:00:01.816) 0:00:54.354 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:09 -0500 (0:00:00.747) 0:00:55.102 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:09 -0500 (0:00:00.037) 0:00:55.139 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:09 -0500 (0:00:00.035) 0:00:55.175 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:09 -0500 (0:00:00.043) 0:00:55.218 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:09 -0500 (0:00:00.070) 0:00:55.289 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:09 -0500 (0:00:00.077) 0:00:55.366 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:09 -0500 (0:00:00.056) 0:00:55.423 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:09 -0500 (0:00:00.060) 0:00:55.483 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:10 -0500 (0:00:00.226) 0:00:55.709 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:10 -0500 (0:00:00.036) 0:00:55.746 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:10 -0500 (0:00:00.039) 0:00:55.786 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:10 -0500 (0:00:00.062) 0:00:55.848 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:10 -0500 (0:00:00.593) 0:00:56.442 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:10 -0500 (0:00:00.070) 0:00:56.512 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:10 -0500 (0:00:00.031) 0:00:56.544 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:11 -0500 (0:00:00.032) 0:00:56.576 ***** changed: [managed-node2] => { "_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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:11 -0500 (0:00:00.598) 0:00:57.175 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:11 -0500 (0:00:00.038) 0:00:57.214 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:11 -0500 (0:00:00.043) 0:00:57.257 ***** ok: [managed-node2] => { "__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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:11 -0500 (0:00:00.040) 0:00:57.298 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:11 -0500 (0:00:00.033) 0:00:57.332 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:49:12 -0500 (0:00:00.389) 0:00:57.721 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:49:12 -0500 (0:00:00.065) 0:00:57.787 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:49:12 -0500 (0:00:00.053) 0:00:57.841 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732970940.2139347, "block_size": 4096, "blocks": 0, "ctime": 1732970940.2139347, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31799, "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": 1732970940.2139347, "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:49:12 -0500 (0:00:00.414) 0:00:58.255 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:49:12 -0500 (0:00:00.037) 0:00:58.292 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:49:12 -0500 (0:00:00.080) 0:00:58.373 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:49:12 -0500 (0:00:00.042) 0:00:58.415 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.360) 0:00:58.775 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.031) 0:00:58.807 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019458", "end": "2024-11-30 07:49:13.570667", "rc": 1, "start": "2024-11-30 07:49:13.551209" } 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.381) 0:00:59.189 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.034) 0:00:59.224 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.034) 0:00:59.259 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.040) 0:00:59.299 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.054) 0:00:59.353 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.056) 0:00:59.411 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.057) 0:00:59.468 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:49:13 -0500 (0:00:00.076) 0:00:59.545 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:49:14 -0500 (0:00:00.061) 0:00:59.606 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:49:14 -0500 (0:00:00.103) 0:00:59.710 ***** ok: [managed-node2] => { "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.054803", "end": "2024-11-30 07:49:14.542359", "rc": 0, "start": "2024-11-30 07:49:14.487556" } STDOUT: Connection 'statebr' (ef07e829-2490-46b8-a785-41b712ef490e) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 30 November 2024 07:49:14 -0500 (0:00:00.476) 0:01:00.186 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:49:14 -0500 (0:00:00.110) 0:01:00.297 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:49:14 -0500 (0:00:00.040) 0:01:00.337 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:49:14 -0500 (0:00:00.069) 0:01:00.407 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:49:14 -0500 (0:00:00.054) 0:01:00.461 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:49:14 -0500 (0:00:00.051) 0:01:00.513 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003179", "end": "2024-11-30 07:49:15.269606", "rc": 0, "start": "2024-11-30 07:49:15.266427" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.373) 0:01:00.887 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.037) 0:01:00.924 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.035) 0:01:00.959 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.064) 0:01:01.024 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.070) 0:01:01.094 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.064) 0:01:01.158 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.102) 0:01:01.261 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.062) 0:01:01.323 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:15 -0500 (0:00:00.061) 0:01:01.385 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:17 -0500 (0:00:01.792) 0:01:03.177 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.733) 0:01:03.911 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.035) 0:01:03.947 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.033) 0:01:03.981 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.032) 0:01:04.013 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.070) 0:01:04.083 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.083) 0:01:04.167 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.071) 0:01:04.238 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.104) 0:01:04.343 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.096) 0:01:04.440 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.032) 0:01:04.472 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:18 -0500 (0:00:00.033) 0:01:04.506 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:19 -0500 (0:00:00.059) 0:01:04.565 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:19 -0500 (0:00:00.769) 0:01:05.334 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:19 -0500 (0:00:00.097) 0:01:05.432 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:19 -0500 (0:00:00.055) 0:01:05.487 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:19 -0500 (0:00:00.054) 0:01:05.542 ***** changed: [managed-node2] => { "_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, 0efde2d1-b8a0-4d30-b31f-b1a775558a25 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:20 -0500 (0:00:00.669) 0:01:06.211 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:20 -0500 (0:00:00.053) 0:01:06.265 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0efde2d1-b8a0-4d30-b31f-b1a775558a25" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:20 -0500 (0:00:00.059) 0:01:06.325 ***** ok: [managed-node2] => { "__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, 0efde2d1-b8a0-4d30-b31f-b1a775558a25\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0efde2d1-b8a0-4d30-b31f-b1a775558a25" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:20 -0500 (0:00:00.063) 0:01:06.388 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:20 -0500 (0:00:00.053) 0:01:06.442 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:49:21 -0500 (0:00:00.442) 0:01:06.884 ***** ok: [managed-node2] => { "__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, 0efde2d1-b8a0-4d30-b31f-b1a775558a25\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0efde2d1-b8a0-4d30-b31f-b1a775558a25" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:49:21 -0500 (0:00:00.063) 0:01:06.947 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:21 -0500 (0:00:00.156) 0:01:07.104 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:21 -0500 (0:00:00.105) 0:01:07.210 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:21 -0500 (0:00:00.085) 0:01:07.295 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:21 -0500 (0:00:00.059) 0:01:07.355 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:21 -0500 (0:00:00.090) 0:01:07.446 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:23 -0500 (0:00:01.773) 0:01:09.220 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.737) 0:01:09.957 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.036) 0:01:09.994 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.033) 0:01:10.027 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.033) 0:01:10.060 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.085) 0:01:10.146 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.061) 0:01:10.208 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.055) 0:01:10.264 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.065) 0:01:10.329 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.109) 0:01:10.438 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:24 -0500 (0:00:00.057) 0:01:10.496 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:25 -0500 (0:00:00.056) 0:01:10.552 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:25 -0500 (0:00:00.082) 0:01:10.635 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:25 -0500 (0:00:00.585) 0:01:11.220 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:25 -0500 (0:00:00.063) 0:01:11.283 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:25 -0500 (0:00:00.083) 0:01:11.366 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:25 -0500 (0:00:00.032) 0:01:11.399 ***** ok: [managed-node2] => { "_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, 0efde2d1-b8a0-4d30-b31f-b1a775558a25 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:26 -0500 (0:00:00.533) 0:01:11.933 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:26 -0500 (0:00:00.039) 0:01:11.972 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0efde2d1-b8a0-4d30-b31f-b1a775558a25 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:26 -0500 (0:00:00.058) 0:01:12.031 ***** ok: [managed-node2] => { "__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, 0efde2d1-b8a0-4d30-b31f-b1a775558a25 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0efde2d1-b8a0-4d30-b31f-b1a775558a25 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:26 -0500 (0:00:00.065) 0:01:12.097 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:26 -0500 (0:00:00.039) 0:01:12.136 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:49:26 -0500 (0:00:00.395) 0:01:12.532 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:27 -0500 (0:00:00.092) 0:01:12.624 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:27 -0500 (0:00:00.116) 0:01:12.741 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:27 -0500 (0:00:00.097) 0:01:12.838 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:27 -0500 (0:00:00.046) 0:01:12.885 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:27 -0500 (0:00:00.043) 0:01:12.929 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:29 -0500 (0:00:01.768) 0:01:14.697 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:29 -0500 (0:00:00.843) 0:01:15.541 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.040) 0:01:15.581 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.033) 0:01:15.614 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.032) 0:01:15.646 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.066) 0:01:15.712 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.066) 0:01:15.778 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.067) 0:01:15.846 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.098) 0:01:15.944 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.132) 0:01:16.077 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.037) 0:01:16.115 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.037) 0:01:16.152 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:30 -0500 (0:00:00.072) 0:01:16.225 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:31 -0500 (0:00:00.596) 0:01:16.821 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:31 -0500 (0:00:00.062) 0:01:16.883 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:31 -0500 (0:00:00.032) 0:01:16.916 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:31 -0500 (0:00:00.032) 0:01:16.948 ***** changed: [managed-node2] => { "_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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.603) 0:01:17.552 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.080) 0:01:17.632 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.037) 0:01:17.670 ***** ok: [managed-node2] => { "__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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.038) 0:01:17.708 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.033) 0:01:17.741 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.374) 0:01:18.116 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.059) 0:01:18.175 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.071) 0:01:18.246 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.065) 0:01:18.312 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.068) 0:01:18.381 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.046) 0:01:18.427 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:32 -0500 (0:00:00.036) 0:01:18.464 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:34 -0500 (0:00:01.807) 0:01:20.272 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:35 -0500 (0:00:00.867) 0:01:21.140 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:35 -0500 (0:00:00.038) 0:01:21.178 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:35 -0500 (0:00:00.032) 0:01:21.211 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:35 -0500 (0:00:00.034) 0:01:21.245 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:35 -0500 (0:00:00.076) 0:01:21.322 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:35 -0500 (0:00:00.103) 0:01:21.425 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:35 -0500 (0:00:00.116) 0:01:21.542 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:36 -0500 (0:00:00.100) 0:01:21.642 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:36 -0500 (0:00:00.119) 0:01:21.762 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:36 -0500 (0:00:00.052) 0:01:21.815 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:36 -0500 (0:00:00.053) 0:01:21.869 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:36 -0500 (0:00:00.094) 0:01:21.963 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:37 -0500 (0:00:00.595) 0:01:22.559 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:37 -0500 (0:00:00.116) 0:01:22.675 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:37 -0500 (0:00:00.052) 0:01:22.727 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:37 -0500 (0:00:00.052) 0:01:22.780 ***** changed: [managed-node2] => { "_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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:37 -0500 (0:00:00.746) 0:01:23.526 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:38 -0500 (0:00:00.041) 0:01:23.568 ***** ok: [managed-node2] => { "__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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:38 -0500 (0:00:00.107) 0:01:23.676 ***** ok: [managed-node2] => { "__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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:38 -0500 (0:00:00.055) 0:01:23.731 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:38 -0500 (0:00:00.035) 0:01:23.766 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:49:38 -0500 (0:00:00.414) 0:01:24.180 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:49:38 -0500 (0:00:00.103) 0:01:24.284 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:49:38 -0500 (0:00:00.065) 0:01:24.349 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:49:38 -0500 (0:00:00.041) 0:01:24.391 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:49:39 -0500 (0:00:00.403) 0:01:24.794 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:49:39 -0500 (0:00:00.036) 0:01:24.831 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018227", "end": "2024-11-30 07:49:39.598547", "rc": 1, "start": "2024-11-30 07:49:39.580320" } 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:49:39 -0500 (0:00:00.408) 0:01:25.239 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:49:39 -0500 (0:00:00.056) 0:01:25.296 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:49:39 -0500 (0:00:00.059) 0:01:25.355 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:49:39 -0500 (0:00:00.059) 0:01:25.414 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:49:39 -0500 (0:00:00.055) 0:01:25.470 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:49:39 -0500 (0:00:00.056) 0:01:25.526 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:49:40 -0500 (0:00:00.058) 0:01:25.585 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:49:40 -0500 (0:00:00.305) 0:01:25.890 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:49:40 -0500 (0:00:00.058) 0:01:25.949 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:49:40 -0500 (0:00:00.396) 0:01:26.346 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:49:40 -0500 (0:00:00.048) 0:01:26.394 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:49:40 -0500 (0:00:00.040) 0:01:26.435 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:49:40 -0500 (0:00:00.071) 0:01:26.506 ***** fatal: [managed-node2]: 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.035565", "end": "2024-11-30 07:49:41.289161", "rc": 1, "start": "2024-11-30 07:49:41.253596" } 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 30 November 2024 07:49:41 -0500 (0:00:00.429) 0:01:26.936 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:49:41 -0500 (0:00:00.097) 0:01:27.033 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:49:41 -0500 (0:00:00.060) 0:01:27.093 ***** ok: [managed-node2] => (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-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:49:41 -0500 (0:00:00.118) 0:01:27.212 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:49:41 -0500 (0:00:00.093) 0:01:27.305 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:49:41 -0500 (0:00:00.084) 0:01:27.390 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003176", "end": "2024-11-30 07:49:42.163508", "rc": 0, "start": "2024-11-30 07:49:42.160332" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.439) 0:01:27.829 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.036) 0:01:27.866 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.038) 0:01:27.905 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.085) 0:01:27.990 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.072) 0:01:28.063 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.065) 0:01:28.128 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.058) 0:01:28.186 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.038) 0:01:28.225 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:42 -0500 (0:00:00.037) 0:01:28.262 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:44 -0500 (0:00:01.777) 0:01:30.039 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:45 -0500 (0:00:00.791) 0:01:30.831 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:45 -0500 (0:00:00.059) 0:01:30.891 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:45 -0500 (0:00:00.055) 0:01:30.946 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:45 -0500 (0:00:00.144) 0:01:31.091 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:45 -0500 (0:00:00.100) 0:01:31.192 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:45 -0500 (0:00:00.099) 0:01:31.291 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:45 -0500 (0:00:00.087) 0:01:31.378 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:45 -0500 (0:00:00.080) 0:01:31.459 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:46 -0500 (0:00:00.111) 0:01:31.570 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:46 -0500 (0:00:00.038) 0:01:31.609 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:46 -0500 (0:00:00.032) 0:01:31.641 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:46 -0500 (0:00:00.065) 0:01:31.707 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:46 -0500 (0:00:00.597) 0:01:32.305 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:46 -0500 (0:00:00.073) 0:01:32.379 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:46 -0500 (0:00:00.042) 0:01:32.421 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:46 -0500 (0:00:00.036) 0:01:32.457 ***** changed: [managed-node2] => { "_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, c8f5e68c-50fb-4f84-a988-097c7a5b0526 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:47 -0500 (0:00:00.586) 0:01:33.043 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:47 -0500 (0:00:00.051) 0:01:33.095 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8f5e68c-50fb-4f84-a988-097c7a5b0526" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:47 -0500 (0:00:00.075) 0:01:33.171 ***** ok: [managed-node2] => { "__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, c8f5e68c-50fb-4f84-a988-097c7a5b0526\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8f5e68c-50fb-4f84-a988-097c7a5b0526" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:47 -0500 (0:00:00.066) 0:01:33.238 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:47 -0500 (0:00:00.051) 0:01:33.289 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:49:48 -0500 (0:00:00.458) 0:01:33.748 ***** ok: [managed-node2] => { "__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, c8f5e68c-50fb-4f84-a988-097c7a5b0526\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8f5e68c-50fb-4f84-a988-097c7a5b0526" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:49:48 -0500 (0:00:00.061) 0:01:33.810 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:48 -0500 (0:00:00.117) 0:01:33.927 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:48 -0500 (0:00:00.108) 0:01:34.036 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:48 -0500 (0:00:00.094) 0:01:34.130 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:48 -0500 (0:00:00.062) 0:01:34.192 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:48 -0500 (0:00:00.062) 0:01:34.255 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:50 -0500 (0:00:01.830) 0:01:36.085 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.770) 0:01:36.856 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.038) 0:01:36.894 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.032) 0:01:36.926 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.032) 0:01:36.959 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.062) 0:01:37.022 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.165) 0:01:37.187 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.057) 0:01:37.245 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.083) 0:01:37.329 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.157) 0:01:37.487 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:51 -0500 (0:00:00.051) 0:01:37.538 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:52 -0500 (0:00:00.037) 0:01:37.576 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:52 -0500 (0:00:00.064) 0:01:37.640 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:52 -0500 (0:00:00.575) 0:01:38.216 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:52 -0500 (0:00:00.063) 0:01:38.280 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:52 -0500 (0:00:00.034) 0:01:38.314 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:52 -0500 (0:00:00.057) 0:01:38.371 ***** ok: [managed-node2] => { "_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, c8f5e68c-50fb-4f84-a988-097c7a5b0526 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:53 -0500 (0:00:00.605) 0:01:38.976 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:53 -0500 (0:00:00.047) 0:01:39.023 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8f5e68c-50fb-4f84-a988-097c7a5b0526 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:53 -0500 (0:00:00.065) 0:01:39.089 ***** ok: [managed-node2] => { "__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, c8f5e68c-50fb-4f84-a988-097c7a5b0526 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8f5e68c-50fb-4f84-a988-097c7a5b0526 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:53 -0500 (0:00:00.064) 0:01:39.154 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:53 -0500 (0:00:00.060) 0:01:39.214 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:49:54 -0500 (0:00:00.392) 0:01:39.607 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:54 -0500 (0:00:00.117) 0:01:39.724 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:49:54 -0500 (0:00:00.064) 0:01:39.789 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:49:54 -0500 (0:00:00.057) 0:01:39.847 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:49:54 -0500 (0:00:00.039) 0:01:39.886 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:49:54 -0500 (0:00:00.039) 0:01:39.926 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:49:56 -0500 (0:00:01.756) 0:01:41.682 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:49:56 -0500 (0:00:00.722) 0:01:42.405 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:49:56 -0500 (0:00:00.042) 0:01:42.448 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:49:56 -0500 (0:00:00.052) 0:01:42.501 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.056) 0:01:42.557 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.108) 0:01:42.666 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.104) 0:01:42.770 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.091) 0:01:42.862 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.069) 0:01:42.932 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.261) 0:01:43.193 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.035) 0:01:43.228 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.032) 0:01:43.261 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:49:57 -0500 (0:00:00.065) 0:01:43.326 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:49:58 -0500 (0:00:00.628) 0:01:43.955 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:49:58 -0500 (0:00:00.069) 0:01:44.024 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:49:58 -0500 (0:00:00.042) 0:01:44.067 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:49:58 -0500 (0:00:00.036) 0:01:44.103 ***** changed: [managed-node2] => { "_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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:49:59 -0500 (0:00:00.629) 0:01:44.733 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:49:59 -0500 (0:00:00.032) 0:01:44.765 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:49:59 -0500 (0:00:00.037) 0:01:44.803 ***** ok: [managed-node2] => { "__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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:49:59 -0500 (0:00:00.037) 0:01:44.840 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:49:59 -0500 (0:00:00.032) 0:01:44.873 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:49:59 -0500 (0:00:00.405) 0:01:45.278 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:49:59 -0500 (0:00:00.102) 0:01:45.381 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:49:59 -0500 (0:00:00.161) 0:01:45.543 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:50:00 -0500 (0:00:00.112) 0:01:45.655 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:50:00 -0500 (0:00:00.092) 0:01:45.747 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:50:00 -0500 (0:00:00.037) 0:01:45.784 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:50:00 -0500 (0:00:00.041) 0:01:45.826 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:50:02 -0500 (0:00:01.826) 0:01:47.652 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:50:02 -0500 (0:00:00.761) 0:01:48.413 ***** ok: [managed-node2] => {} 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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:50:02 -0500 (0:00:00.037) 0:01:48.451 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:50:02 -0500 (0:00:00.032) 0:01:48.484 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:50:02 -0500 (0:00:00.033) 0:01:48.518 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:50:03 -0500 (0:00:00.062) 0:01:48.580 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:50:03 -0500 (0:00:00.068) 0:01:48.649 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:50:03 -0500 (0:00:00.063) 0:01:48.712 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:50:03 -0500 (0:00:00.099) 0:01:48.812 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:50:03 -0500 (0:00:00.223) 0:01:49.035 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:50:03 -0500 (0:00:00.054) 0:01:49.089 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:50:03 -0500 (0:00:00.056) 0:01:49.145 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:50:03 -0500 (0:00:00.079) 0:01:49.224 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:50:04 -0500 (0:00:00.592) 0:01:49.816 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:50:04 -0500 (0:00:00.066) 0:01:49.883 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:50:04 -0500 (0:00:00.044) 0:01:49.928 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:50:04 -0500 (0:00:00.033) 0:01:49.961 ***** ok: [managed-node2] => { "_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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:50:04 -0500 (0:00:00.577) 0:01:50.539 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:50:05 -0500 (0:00:00.057) 0:01:50.596 ***** ok: [managed-node2] => { "__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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:50:05 -0500 (0:00:00.063) 0:01:50.660 ***** ok: [managed-node2] => { "__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-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:50:05 -0500 (0:00:00.062) 0:01:50.722 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:50:05 -0500 (0:00:00.057) 0:01:50.780 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:50:05 -0500 (0:00:00.401) 0:01:51.181 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:50:05 -0500 (0:00:00.070) 0:01:51.252 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:50:05 -0500 (0:00:00.090) 0:01:51.342 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:50:05 -0500 (0:00:00.092) 0:01:51.434 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.366) 0:01:51.800 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.033) 0:01:51.834 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017877", "end": "2024-11-30 07:50:06.613271", "rc": 1, "start": "2024-11-30 07:50:06.595394" } 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.420) 0:01:52.255 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.059) 0:01:52.314 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.058) 0:01:52.373 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.038) 0:01:52.411 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.041) 0:01:52.452 ***** skipping: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.041) 0:01:52.494 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 30 November 2024 07:50:06 -0500 (0:00:00.040) 0:01:52.535 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.170389", "end": "2024-11-30 07:50:07.451305", "rc": 0, "start": "2024-11-30 07:50:07.280916" } STDOUT: NetworkManager-1.51.4-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 30 November 2024 07:50:07 -0500 (0:00:00.544) 0:01:53.079 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.4-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 30 November 2024 07:50:07 -0500 (0:00:00.039) 0:01:53.119 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.51.4-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:50:07 -0500 (0:00:00.037) 0:01:53.156 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:50:07 -0500 (0:00:00.082) 0:01:53.239 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:50:07 -0500 (0:00:00.054) 0:01:53.293 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:50:08 -0500 (0:00:00.378) 0:01:53.672 ***** ok: [managed-node2] => { "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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:50:08 -0500 (0:00:00.036) 0:01:53.709 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:50:08 -0500 (0:00:00.083) 0:01:53.792 ***** included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:50:08 -0500 (0:00:00.094) 0:01:53.887 ***** fatal: [managed-node2]: 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.035262", "end": "2024-11-30 07:50:08.698274", "rc": 1, "start": "2024-11-30 07:50:08.663012" } 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-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 30 November 2024 07:50:08 -0500 (0:00:00.430) 0:01:54.317 ***** ok: [managed-node2] => { "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.009461", "end": "2024-11-30 07:50:09.072033", "rc": 0, "start": "2024-11-30 07:50:09.062572" } 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 0a:ff:f5:08:32:db brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.14.241/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3016sec preferred_lft 3016sec inet6 fe80::8ff:f5ff:fe08:32db/64 scope link noprefixroute valid_lft forever preferred_lft forever 30: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 42:ad:ad:82:01:dc 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.12.1 dev eth0 proto dhcp src 10.31.14.241 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.241 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 30 November 2024 07:50:09 -0500 (0:00:00.382) 0:01:54.700 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.141702", "end": "2024-11-30 07:50:09.620399", "rc": 0, "start": "2024-11-30 07:50:09.478697" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 7106 0 --:--:-- --:--:-- --:--:-- 7261 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3889 0 --:--:-- --:--:-- --:--:-- 3932 PLAY RECAP ********************************************************************* managed-node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Saturday 30 November 2024 07:50:09 -0500 (0:00:00.521) 0:01:55.221 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.31s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.86s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/collections-8Vu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26