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-9Wz executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-9Wz/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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 16 November 2024 12:33:15 -0500 (0:00:00.006) 0:00:00.006 ***** [WARNING]: Platform linux on host managed-node3 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-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 16 November 2024 12:33:16 -0500 (0:00:01.197) 0:00:01.204 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 16 November 2024 12:33:16 -0500 (0:00:00.018) 0:00:01.222 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 16 November 2024 12:33:16 -0500 (0:00:00.513) 0:00:01.735 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.425) 0:00:02.161 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.021) 0:00:02.183 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.013) 0:00:02.197 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.039) 0:00:02.236 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.012) 0:00:02.249 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.011) 0:00:02.261 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.012) 0:00:02.273 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.011) 0:00:02.285 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.011) 0:00:02.297 ***** ok: [managed-node3] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.017) 0:00:02.315 ***** ok: [managed-node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.870) 0:00:03.185 ***** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.017) 0:00:03.202 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.023) 0:00:03.226 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.014) 0:00:03.241 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.046) 0:00:03.287 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.018) 0:00:03.306 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.017) 0:00:03.323 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003909", "end": "2024-11-16 12:33:18.687333", "rc": 0, "start": "2024-11-16 12:33:18.683424" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.420) 0:00:03.744 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.017) 0:00:03.761 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.017) 0:00:03.778 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.025) 0:00:03.804 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007532", "end": "2024-11-16 12:33:19.096976", "rc": 1, "start": "2024-11-16 12:33:19.089444" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.349) 0:00:04.153 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.019) 0:00:04.173 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.341) 0:00:04.514 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.017) 0:00:04.531 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.024) 0:00:04.556 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.040) 0:00:04.597 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.030) 0:00:04.627 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.047) 0:00:04.674 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.020) 0:00:04.695 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:19 -0500 (0:00:00.017) 0:00:04.712 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:21 -0500 (0:00:02.040) 0:00:06.752 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.912) 0:00:07.665 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.033) 0:00:07.698 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.029) 0:00:07.728 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.030) 0:00:07.758 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.070) 0:00:07.829 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.056) 0:00:07.885 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.050) 0:00:07.935 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.055) 0:00:07.990 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:23 -0500 (0:00:00.082) 0:00:08.073 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:23 -0500 (0:00:00.052) 0:00:08.125 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:23 -0500 (0:00:00.029) 0:00:08.155 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:23 -0500 (0:00:00.059) 0:00:08.214 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:23 -0500 (0:00:00.763) 0:00:08.977 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.057) 0:00:09.035 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.029) 0:00:09.064 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.028) 0:00:09.092 ***** changed: [managed-node3] => { "_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, b9870381-25d9-40de-952c-e28666b1c4c9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.730) 0:00:09.823 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.044) 0:00:09.868 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9870381-25d9-40de-952c-e28666b1c4c9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.034) 0:00:09.903 ***** ok: [managed-node3] => { "__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, b9870381-25d9-40de-952c-e28666b1c4c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9870381-25d9-40de-952c-e28666b1c4c9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.032) 0:00:09.936 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.027) 0:00:09.963 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.450) 0:00:10.414 ***** ok: [managed-node3] => { "__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, b9870381-25d9-40de-952c-e28666b1c4c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9870381-25d9-40de-952c-e28666b1c4c9" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.034) 0:00:10.449 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.054) 0:00:10.503 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.053) 0:00:10.556 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.059) 0:00:10.616 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.358) 0:00:10.974 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.030) 0:00:11.005 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020078", "end": "2024-11-16 12:33:26.311323", "rc": 0, "start": "2024-11-16 12:33:26.291245" } 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.378) 0:00:11.383 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.033) 0:00:11.417 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.030) 0:00:11.447 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.028) 0:00:11.476 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.029) 0:00:11.505 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.029) 0:00:11.534 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.032) 0:00:11.567 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.032) 0:00:11.600 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.032) 0:00:11.632 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.076) 0:00:11.709 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:33:26 -0500 (0:00:00.046) 0:00:11.755 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731778404.6834512, "block_size": 4096, "blocks": 0, "ctime": 1731778404.6834512, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36640, "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": 1731778404.6834512, "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.359) 0:00:12.115 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.035) 0:00:12.150 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.030) 0:00:12.181 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.083) 0:00:12.264 ***** fatal: [managed-node3]: 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.061842", "end": "2024-11-16 12:33:27.618331", "rc": 1, "start": "2024-11-16 12:33:27.556489" } STDOUT: Connection 'statebr' (b9870381-25d9-40de-952c-e28666b1c4c9) 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.425) 0:00:12.690 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.052) 0:00:12.742 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.031) 0:00:12.774 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.064) 0:00:12.838 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.048) 0:00:12.886 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:33:27 -0500 (0:00:00.048) 0:00:12.934 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003323", "end": "2024-11-16 12:33:28.232659", "rc": 0, "start": "2024-11-16 12:33:28.229336" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.370) 0:00:13.305 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.032) 0:00:13.337 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.032) 0:00:13.370 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.055) 0:00:13.426 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006323", "end": "2024-11-16 12:33:28.721053", "rc": 1, "start": "2024-11-16 12:33:28.714730" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.367) 0:00:13.793 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.077) 0:00:13.870 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.367) 0:00:14.238 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.034) 0:00:14.273 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.053) 0:00:14.326 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.066) 0:00:14.393 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.059) 0:00:14.452 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.053) 0:00:14.506 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.033) 0:00:14.539 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.033) 0:00:14.573 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:31 -0500 (0:00:01.941) 0:00:16.515 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.740) 0:00:17.255 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.032) 0:00:17.288 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.060) 0:00:17.349 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.029) 0:00:17.379 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.059) 0:00:17.438 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.057) 0:00:17.495 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.049) 0:00:17.545 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.055) 0:00:17.601 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.082) 0:00:17.684 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.029) 0:00:17.714 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.028) 0:00:17.742 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.057) 0:00:17.800 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:33 -0500 (0:00:00.579) 0:00:18.380 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:33 -0500 (0:00:00.055) 0:00:18.435 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:33 -0500 (0:00:00.029) 0:00:18.464 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:33 -0500 (0:00:00.027) 0:00:18.492 ***** changed: [managed-node3] => { "_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, 2a12f580-4603-4ce1-9b91-41c953c6b881 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.544) 0:00:19.037 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.030) 0:00:19.067 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2a12f580-4603-4ce1-9b91-41c953c6b881" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.032) 0:00:19.100 ***** ok: [managed-node3] => { "__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, 2a12f580-4603-4ce1-9b91-41c953c6b881\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2a12f580-4603-4ce1-9b91-41c953c6b881" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.050) 0:00:19.150 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.030) 0:00:19.181 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.401) 0:00:19.583 ***** ok: [managed-node3] => { "__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, 2a12f580-4603-4ce1-9b91-41c953c6b881\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2a12f580-4603-4ce1-9b91-41c953c6b881" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.035) 0:00:19.618 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.060) 0:00:19.679 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.047) 0:00:19.726 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:33:35 -0500 (0:00:00.361) 0:00:20.088 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 12:33:35 -0500 (0:00:00.034) 0:00:20.122 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:33:35 -0500 (0:00:00.067) 0:00:20.190 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:33:35 -0500 (0:00:00.034) 0:00:20.224 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:33:35 -0500 (0:00:00.362) 0:00:20.586 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:33:35 -0500 (0:00:00.030) 0:00:20.617 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020552", "end": "2024-11-16 12:33:35.923333", "rc": 0, "start": "2024-11-16 12:33:35.902781" } 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:33:35 -0500 (0:00:00.378) 0:00:20.995 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.034) 0:00:21.030 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.029) 0:00:21.060 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.029) 0:00:21.090 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.029) 0:00:21.119 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.060) 0:00:21.180 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.046) 0:00:21.226 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.041) 0:00:21.267 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.034) 0:00:21.301 ***** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.044) 0:00:21.345 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.031) 0:00:21.377 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.055) 0:00:21.433 ***** fatal: [managed-node3]: 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.040467", "end": "2024-11-16 12:33:36.762616", "rc": 1, "start": "2024-11-16 12:33:36.722149" } STDOUT: Connection 'statebr' (2a12f580-4603-4ce1-9b91-41c953c6b881) 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.401) 0:00:21.835 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.052) 0:00:21.887 ***** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.032) 0:00:21.920 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:33:36 -0500 (0:00:00.063) 0:00:21.983 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.048) 0:00:22.032 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.045) 0:00:22.078 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003480", "end": "2024-11-16 12:33:37.372550", "rc": 0, "start": "2024-11-16 12:33:37.369070" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.367) 0:00:22.445 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.065) 0:00:22.510 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.032) 0:00:22.543 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.052) 0:00:22.596 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.064) 0:00:22.660 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.059) 0:00:22.720 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.055) 0:00:22.775 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.034) 0:00:22.809 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.033) 0:00:22.843 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:39 -0500 (0:00:01.965) 0:00:24.808 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.737) 0:00:25.545 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.033) 0:00:25.579 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.028) 0:00:25.608 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.061) 0:00:25.669 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.058) 0:00:25.727 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.061) 0:00:25.789 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.047) 0:00:25.836 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.058) 0:00:25.894 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.084) 0:00:25.979 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.029) 0:00:26.008 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.030) 0:00:26.038 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.054) 0:00:26.093 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.570) 0:00:26.664 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.058) 0:00:26.722 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.028) 0:00:26.751 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.029) 0:00:26.780 ***** changed: [managed-node3] => { "_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, 3c2778a3-5434-4ca0-af09-fe46787f6b18 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.596) 0:00:27.377 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.046) 0:00:27.424 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c2778a3-5434-4ca0-af09-fe46787f6b18" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.035) 0:00:27.460 ***** ok: [managed-node3] => { "__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, 3c2778a3-5434-4ca0-af09-fe46787f6b18\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c2778a3-5434-4ca0-af09-fe46787f6b18" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.032) 0:00:27.493 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.030) 0:00:27.523 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.404) 0:00:27.928 ***** ok: [managed-node3] => { "__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, 3c2778a3-5434-4ca0-af09-fe46787f6b18\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c2778a3-5434-4ca0-af09-fe46787f6b18" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.035) 0:00:27.963 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.053) 0:00:28.017 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.064) 0:00:28.081 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.059) 0:00:28.141 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.053) 0:00:28.194 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.033) 0:00:28.228 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.034) 0:00:28.262 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:45 -0500 (0:00:01.918) 0:00:30.181 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:45 -0500 (0:00:00.731) 0:00:30.913 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:45 -0500 (0:00:00.033) 0:00:30.946 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:45 -0500 (0:00:00.028) 0:00:30.975 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.063) 0:00:31.038 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.058) 0:00:31.096 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.061) 0:00:31.157 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.048) 0:00:31.206 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.054) 0:00:31.260 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.084) 0:00:31.345 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.029) 0:00:31.374 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.029) 0:00:31.404 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.055) 0:00:31.459 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.604) 0:00:32.064 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.059) 0:00:32.123 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.029) 0:00:32.153 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.029) 0:00:32.183 ***** ok: [managed-node3] => { "_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, 3c2778a3-5434-4ca0-af09-fe46787f6b18 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.549) 0:00:32.733 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.029) 0:00:32.762 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3c2778a3-5434-4ca0-af09-fe46787f6b18 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.034) 0:00:32.796 ***** ok: [managed-node3] => { "__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, 3c2778a3-5434-4ca0-af09-fe46787f6b18 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3c2778a3-5434-4ca0-af09-fe46787f6b18 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.032) 0:00:32.829 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.029) 0:00:32.858 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.410) 0:00:33.268 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.061) 0:00:33.329 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.048) 0:00:33.378 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731778422.2430904, "block_size": 4096, "blocks": 0, "ctime": 1731778422.2430904, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36765, "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": 1731778422.2430904, "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.367) 0:00:33.745 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.034) 0:00:33.780 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.053) 0:00:33.834 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.031) 0:00:33.865 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.365) 0:00:34.231 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.030) 0:00:34.262 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020998", "end": "2024-11-16 12:33:49.581574", "rc": 0, "start": "2024-11-16 12:33:49.560576" } 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.398) 0:00:34.660 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.036) 0:00:34.696 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.030) 0:00:34.727 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.030) 0:00:34.758 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.029) 0:00:34.787 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.030) 0:00:34.818 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.066) 0:00:34.884 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.035) 0:00:34.919 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.033) 0:00:34.952 ***** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.046) 0:00:34.999 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.032) 0:00:35.031 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.056) 0:00:35.087 ***** fatal: [managed-node3]: 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.062597", "end": "2024-11-16 12:33:50.443644", "rc": 1, "start": "2024-11-16 12:33:50.381047" } STDOUT: Connection 'statebr' (3c2778a3-5434-4ca0-af09-fe46787f6b18) 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.430) 0:00:35.518 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.052) 0:00:35.570 ***** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.034) 0:00:35.604 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.080) 0:00:35.685 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.049) 0:00:35.735 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.048) 0:00:35.784 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003772", "end": "2024-11-16 12:33:51.075015", "rc": 0, "start": "2024-11-16 12:33:51.071243" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.362) 0:00:36.146 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.033) 0:00:36.180 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.032) 0:00:36.213 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.088) 0:00:36.302 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.065) 0:00:36.368 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.058) 0:00:36.426 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.054) 0:00:36.481 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.033) 0:00:36.514 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.033) 0:00:36.548 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:53 -0500 (0:00:01.969) 0:00:38.518 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.725) 0:00:39.243 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.034) 0:00:39.278 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.029) 0:00:39.307 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.029) 0:00:39.337 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.057) 0:00:39.394 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.096) 0:00:39.491 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.049) 0:00:39.540 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.060) 0:00:39.601 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.086) 0:00:39.687 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.029) 0:00:39.717 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.030) 0:00:39.747 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.076) 0:00:39.824 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:55 -0500 (0:00:00.580) 0:00:40.405 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:55 -0500 (0:00:00.058) 0:00:40.463 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:55 -0500 (0:00:00.028) 0:00:40.492 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:55 -0500 (0:00:00.030) 0:00:40.522 ***** changed: [managed-node3] => { "_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, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.588) 0:00:41.110 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.031) 0:00:41.142 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.034) 0:00:41.177 ***** ok: [managed-node3] => { "__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, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.033) 0:00:41.210 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.030) 0:00:41.241 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.377) 0:00:41.618 ***** ok: [managed-node3] => { "__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, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.034) 0:00:41.653 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.099) 0:00:41.753 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.059) 0:00:41.812 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.075) 0:00:41.888 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.033) 0:00:41.921 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.034) 0:00:41.956 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:58 -0500 (0:00:01.900) 0:00:43.856 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.735) 0:00:44.592 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.033) 0:00:44.625 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.029) 0:00:44.654 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.028) 0:00:44.683 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.057) 0:00:44.740 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.059) 0:00:44.799 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.047) 0:00:44.847 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.093) 0:00:44.940 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:00 -0500 (0:00:00.099) 0:00:45.040 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:00 -0500 (0:00:00.030) 0:00:45.070 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:00 -0500 (0:00:00.029) 0:00:45.100 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:00 -0500 (0:00:00.055) 0:00:45.155 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:00 -0500 (0:00:00.574) 0:00:45.730 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:00 -0500 (0:00:00.057) 0:00:45.788 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:00 -0500 (0:00:00.029) 0:00:45.818 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:00 -0500 (0:00:00.029) 0:00:45.848 ***** ok: [managed-node3] => { "_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, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:01 -0500 (0:00:00.542) 0:00:46.391 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:01 -0500 (0:00:00.031) 0:00:46.422 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:01 -0500 (0:00:00.033) 0:00:46.455 ***** ok: [managed-node3] => { "__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, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:01 -0500 (0:00:00.033) 0:00:46.489 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:01 -0500 (0:00:00.029) 0:00:46.518 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:34:01 -0500 (0:00:00.373) 0:00:46.892 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 16 November 2024 12:34:01 -0500 (0:00:00.053) 0:00:46.946 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.112) 0:00:47.058 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.065) 0:00:47.123 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.054) 0:00:47.177 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.034) 0:00:47.211 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.033) 0:00:47.245 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:04 -0500 (0:00:01.947) 0:00:49.192 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:04 -0500 (0:00:00.733) 0:00:49.925 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:04 -0500 (0:00:00.034) 0:00:49.960 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:04 -0500 (0:00:00.028) 0:00:49.989 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.030) 0:00:50.019 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.057) 0:00:50.077 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.057) 0:00:50.134 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.065) 0:00:50.199 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.054) 0:00:50.254 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.161) 0:00:50.415 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.031) 0:00:50.446 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.029) 0:00:50.476 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.056) 0:00:50.533 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.584) 0:00:51.117 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.060) 0:00:51.178 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.048) 0:00:51.226 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.029) 0:00:51.255 ***** changed: [managed-node3] => { "_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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.572) 0:00:51.828 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.030) 0:00:51.859 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.034) 0:00:51.893 ***** ok: [managed-node3] => { "__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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.033) 0:00:51.927 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.029) 0:00:51.957 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:34:07 -0500 (0:00:00.375) 0:00:52.332 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 12:34:07 -0500 (0:00:00.061) 0:00:52.393 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:34:07 -0500 (0:00:00.083) 0:00:52.477 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731778435.987309, "block_size": 4096, "blocks": 0, "ctime": 1731778435.987309, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36890, "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": 1731778435.987309, "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 12:34:07 -0500 (0:00:00.360) 0:00:52.837 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 12:34:07 -0500 (0:00:00.035) 0:00:52.873 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:34:07 -0500 (0:00:00.054) 0:00:52.927 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:34:07 -0500 (0:00:00.032) 0:00:52.959 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.358) 0:00:53.318 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.030) 0:00:53.349 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019958", "end": "2024-11-16 12:34:08.657889", "rc": 1, "start": "2024-11-16 12:34:08.637931" } 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.381) 0:00:53.730 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.032) 0:00:53.763 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.030) 0:00:53.793 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.029) 0:00:53.823 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.030) 0:00:53.853 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.029) 0:00:53.883 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.033) 0:00:53.916 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.046) 0:00:53.962 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:34:08 -0500 (0:00:00.032) 0:00:53.995 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.055) 0:00:54.050 ***** ok: [managed-node3] => { "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.058411", "end": "2024-11-16 12:34:09.397729", "rc": 0, "start": "2024-11-16 12:34:09.339318" } STDOUT: Connection 'statebr' (e5855071-5e3c-47ca-9d1a-1fa8fa0aaac1) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.472) 0:00:54.522 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.053) 0:00:54.575 ***** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.033) 0:00:54.609 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.063) 0:00:54.673 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.050) 0:00:54.723 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.047) 0:00:54.771 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005068", "end": "2024-11-16 12:34:11.064273", "rc": 0, "start": "2024-11-16 12:34:10.059205" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:34:11 -0500 (0:00:01.365) 0:00:56.136 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.034) 0:00:56.171 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.032) 0:00:56.204 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.059) 0:00:56.264 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.064) 0:00:56.328 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.078) 0:00:56.406 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.129) 0:00:56.536 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.036) 0:00:56.573 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.034) 0:00:56.607 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:13 -0500 (0:00:01.915) 0:00:58.523 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.722) 0:00:59.245 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.033) 0:00:59.279 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.028) 0:00:59.307 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.029) 0:00:59.337 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.056) 0:00:59.393 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.077) 0:00:59.471 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.052) 0:00:59.523 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.056) 0:00:59.579 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.086) 0:00:59.666 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.029) 0:00:59.695 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.029) 0:00:59.725 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.055) 0:00:59.780 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.652) 0:01:00.433 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.074) 0:01:00.507 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.034) 0:01:00.542 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.030) 0:01:00.572 ***** changed: [managed-node3] => { "_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, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.585) 0:01:01.158 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.032) 0:01:01.190 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.034) 0:01:01.224 ***** ok: [managed-node3] => { "__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, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.033) 0:01:01.258 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.030) 0:01:01.289 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.374) 0:01:01.663 ***** ok: [managed-node3] => { "__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, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.036) 0:01:01.699 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.064) 0:01:01.764 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.059) 0:01:01.823 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.055) 0:01:01.878 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.034) 0:01:01.913 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:16 -0500 (0:00:00.072) 0:01:01.985 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:18 -0500 (0:00:01.883) 0:01:03.869 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.726) 0:01:04.595 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.052) 0:01:04.647 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.031) 0:01:04.679 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.029) 0:01:04.709 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.057) 0:01:04.766 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.063) 0:01:04.830 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.048) 0:01:04.878 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.059) 0:01:04.937 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.085) 0:01:05.023 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.029) 0:01:05.053 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.029) 0:01:05.083 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.055) 0:01:05.138 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.583) 0:01:05.721 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.058) 0:01:05.780 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.067) 0:01:05.848 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.032) 0:01:05.880 ***** ok: [managed-node3] => { "_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, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.541) 0:01:06.421 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.032) 0:01:06.453 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.033) 0:01:06.487 ***** ok: [managed-node3] => { "__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, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0a6fbd30-aaa5-4d7c-a886-184d060f72d2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.034) 0:01:06.521 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.029) 0:01:06.550 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.371) 0:01:06.921 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.067) 0:01:06.989 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:22 -0500 (0:00:00.058) 0:01:07.048 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:22 -0500 (0:00:00.055) 0:01:07.103 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:22 -0500 (0:00:00.035) 0:01:07.139 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:22 -0500 (0:00:00.033) 0:01:07.172 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:24 -0500 (0:00:01.851) 0:01:09.024 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:24 -0500 (0:00:00.821) 0:01:09.845 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:24 -0500 (0:00:00.035) 0:01:09.880 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:24 -0500 (0:00:00.029) 0:01:09.910 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:24 -0500 (0:00:00.030) 0:01:09.941 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:24 -0500 (0:00:00.057) 0:01:09.998 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.062) 0:01:10.061 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.050) 0:01:10.111 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.055) 0:01:10.167 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.085) 0:01:10.252 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.029) 0:01:10.282 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.030) 0:01:10.312 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.056) 0:01:10.368 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.563) 0:01:10.932 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:25 -0500 (0:00:00.058) 0:01:10.991 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.029) 0:01:11.020 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.030) 0:01:11.051 ***** changed: [managed-node3] => { "_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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.605) 0:01:11.657 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.068) 0:01:11.725 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.036) 0:01:11.762 ***** ok: [managed-node3] => { "__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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.034) 0:01:11.796 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.031) 0:01:11.827 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.371) 0:01:12.199 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.055) 0:01:12.255 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.066) 0:01:12.321 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.059) 0:01:12.381 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.053) 0:01:12.435 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.035) 0:01:12.471 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.035) 0:01:12.506 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:29 -0500 (0:00:01.901) 0:01:14.407 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.808) 0:01:15.215 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.035) 0:01:15.251 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.030) 0:01:15.282 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.030) 0:01:15.312 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.061) 0:01:15.374 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.060) 0:01:15.435 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.053) 0:01:15.488 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.058) 0:01:15.546 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.082) 0:01:15.629 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.030) 0:01:15.660 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.028) 0:01:15.688 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.058) 0:01:15.747 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.577) 0:01:16.324 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.058) 0:01:16.383 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.031) 0:01:16.414 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.029) 0:01:16.444 ***** changed: [managed-node3] => { "_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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.677) 0:01:17.121 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.031) 0:01:17.152 ***** ok: [managed-node3] => { "__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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.072) 0:01:17.224 ***** ok: [managed-node3] => { "__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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.035) 0:01:17.260 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.029) 0:01:17.290 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.371) 0:01:17.662 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.057) 0:01:17.719 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.053) 0:01:17.772 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.032) 0:01:17.805 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.356) 0:01:18.162 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.031) 0:01:18.193 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020391", "end": "2024-11-16 12:34:33.500383", "rc": 1, "start": "2024-11-16 12:34:33.479992" } 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.378) 0:01:18.572 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.032) 0:01:18.604 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.029) 0:01:18.634 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.030) 0:01:18.665 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.029) 0:01:18.694 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.030) 0:01:18.724 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.068) 0:01:18.793 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.077) 0:01:18.871 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.048) 0:01:18.919 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.368) 0:01:19.288 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.035) 0:01:19.323 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.033) 0:01:19.357 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.056) 0:01:19.413 ***** fatal: [managed-node3]: 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.039244", "end": "2024-11-16 12:34:34.743515", "rc": 1, "start": "2024-11-16 12:34:34.704271" } 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.404) 0:01:19.817 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.052) 0:01:19.870 ***** ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.031) 0:01:19.902 ***** ok: [managed-node3] => (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-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.068) 0:01:19.970 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.049) 0:01:20.019 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.048) 0:01:20.067 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003636", "end": "2024-11-16 12:34:35.367106", "rc": 0, "start": "2024-11-16 12:34:35.363470" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.412) 0:01:20.479 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.035) 0:01:20.515 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.032) 0:01:20.547 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.060) 0:01:20.607 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.066) 0:01:20.674 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.059) 0:01:20.733 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.056) 0:01:20.789 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.033) 0:01:20.823 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.035) 0:01:20.858 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:37 -0500 (0:00:01.881) 0:01:22.740 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.731) 0:01:23.472 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.035) 0:01:23.507 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.070) 0:01:23.578 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.032) 0:01:23.610 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.060) 0:01:23.671 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.063) 0:01:23.735 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.048) 0:01:23.783 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.059) 0:01:23.842 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.083) 0:01:23.925 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.031) 0:01:23.957 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:38 -0500 (0:00:00.030) 0:01:23.987 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:39 -0500 (0:00:00.056) 0:01:24.043 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:39 -0500 (0:00:00.589) 0:01:24.633 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:39 -0500 (0:00:00.060) 0:01:24.693 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:39 -0500 (0:00:00.030) 0:01:24.723 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:39 -0500 (0:00:00.030) 0:01:24.754 ***** changed: [managed-node3] => { "_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, 3a50dc5b-3d21-434a-a784-40477d1ccd6b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:40 -0500 (0:00:00.587) 0:01:25.341 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:40 -0500 (0:00:00.031) 0:01:25.373 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a50dc5b-3d21-434a-a784-40477d1ccd6b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:40 -0500 (0:00:00.034) 0:01:25.408 ***** ok: [managed-node3] => { "__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, 3a50dc5b-3d21-434a-a784-40477d1ccd6b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a50dc5b-3d21-434a-a784-40477d1ccd6b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:40 -0500 (0:00:00.036) 0:01:25.444 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:40 -0500 (0:00:00.070) 0:01:25.514 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:34:40 -0500 (0:00:00.368) 0:01:25.883 ***** ok: [managed-node3] => { "__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, 3a50dc5b-3d21-434a-a784-40477d1ccd6b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a50dc5b-3d21-434a-a784-40477d1ccd6b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 12:34:40 -0500 (0:00:00.035) 0:01:25.919 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:40 -0500 (0:00:00.067) 0:01:25.986 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:41 -0500 (0:00:00.059) 0:01:26.046 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:41 -0500 (0:00:00.055) 0:01:26.102 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:41 -0500 (0:00:00.034) 0:01:26.136 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:41 -0500 (0:00:00.034) 0:01:26.170 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:44 -0500 (0:00:02.927) 0:01:29.098 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:44 -0500 (0:00:00.723) 0:01:29.821 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:44 -0500 (0:00:00.033) 0:01:29.855 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:44 -0500 (0:00:00.031) 0:01:29.887 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:44 -0500 (0:00:00.029) 0:01:29.916 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:45 -0500 (0:00:00.145) 0:01:30.062 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:45 -0500 (0:00:00.061) 0:01:30.123 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:45 -0500 (0:00:00.049) 0:01:30.173 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:45 -0500 (0:00:00.060) 0:01:30.234 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:45 -0500 (0:00:00.084) 0:01:30.318 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:45 -0500 (0:00:00.031) 0:01:30.349 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:45 -0500 (0:00:00.039) 0:01:30.389 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:45 -0500 (0:00:00.067) 0:01:30.457 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.579) 0:01:31.037 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.057) 0:01:31.094 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.030) 0:01:31.125 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.030) 0:01:31.155 ***** ok: [managed-node3] => { "_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, 3a50dc5b-3d21-434a-a784-40477d1ccd6b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.533) 0:01:31.689 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.031) 0:01:31.720 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3a50dc5b-3d21-434a-a784-40477d1ccd6b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.033) 0:01:31.754 ***** ok: [managed-node3] => { "__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, 3a50dc5b-3d21-434a-a784-40477d1ccd6b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3a50dc5b-3d21-434a-a784-40477d1ccd6b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.034) 0:01:31.789 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:46 -0500 (0:00:00.029) 0:01:31.818 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 12:34:47 -0500 (0:00:00.413) 0:01:32.232 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:47 -0500 (0:00:00.067) 0:01:32.299 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:47 -0500 (0:00:00.060) 0:01:32.359 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:47 -0500 (0:00:00.056) 0:01:32.415 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:47 -0500 (0:00:00.040) 0:01:32.456 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:47 -0500 (0:00:00.046) 0:01:32.503 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:49 -0500 (0:00:01.862) 0:01:34.365 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.725) 0:01:35.090 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.034) 0:01:35.125 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.029) 0:01:35.155 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.030) 0:01:35.185 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.056) 0:01:35.242 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.062) 0:01:35.305 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.048) 0:01:35.353 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.148) 0:01:35.501 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.108) 0:01:35.609 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.031) 0:01:35.640 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.030) 0:01:35.671 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:50 -0500 (0:00:00.056) 0:01:35.728 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:51 -0500 (0:00:00.581) 0:01:36.310 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:51 -0500 (0:00:00.059) 0:01:36.370 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:51 -0500 (0:00:00.030) 0:01:36.400 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:51 -0500 (0:00:00.031) 0:01:36.431 ***** changed: [managed-node3] => { "_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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.640) 0:01:37.072 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.032) 0:01:37.104 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.034) 0:01:37.138 ***** ok: [managed-node3] => { "__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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.035) 0:01:37.173 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.030) 0:01:37.204 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.369) 0:01:37.574 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.059) 0:01:37.633 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.125) 0:01:37.759 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.060) 0:01:37.820 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.055) 0:01:37.876 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.035) 0:01:37.912 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:52 -0500 (0:00:00.034) 0:01:37.947 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:54 -0500 (0:00:01.843) 0:01:39.790 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:55 -0500 (0:00:00.725) 0:01:40.516 ***** ok: [managed-node3] => {} 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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:55 -0500 (0:00:00.035) 0:01:40.552 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:55 -0500 (0:00:00.030) 0:01:40.582 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:55 -0500 (0:00:00.029) 0:01:40.612 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:55 -0500 (0:00:00.060) 0:01:40.673 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:55 -0500 (0:00:00.058) 0:01:40.731 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:55 -0500 (0:00:00.069) 0:01:40.801 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:55 -0500 (0:00:00.057) 0:01:40.858 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:56 -0500 (0:00:00.175) 0:01:41.034 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:56 -0500 (0:00:00.032) 0:01:41.066 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:56 -0500 (0:00:00.029) 0:01:41.095 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:56 -0500 (0:00:00.060) 0:01:41.156 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:56 -0500 (0:00:00.575) 0:01:41.732 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:56 -0500 (0:00:00.068) 0:01:41.800 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:56 -0500 (0:00:00.040) 0:01:41.840 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:56 -0500 (0:00:00.029) 0:01:41.870 ***** ok: [managed-node3] => { "_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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:57 -0500 (0:00:00.560) 0:01:42.431 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:57 -0500 (0:00:00.031) 0:01:42.462 ***** ok: [managed-node3] => { "__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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:57 -0500 (0:00:00.034) 0:01:42.497 ***** ok: [managed-node3] => { "__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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:57 -0500 (0:00:00.033) 0:01:42.531 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:57 -0500 (0:00:00.028) 0:01:42.559 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:34:57 -0500 (0:00:00.378) 0:01:42.938 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 12:34:57 -0500 (0:00:00.062) 0:01:43.000 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:34:58 -0500 (0:00:00.093) 0:01:43.093 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:34:58 -0500 (0:00:00.032) 0:01:43.126 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:34:58 -0500 (0:00:00.357) 0:01:43.484 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:34:58 -0500 (0:00:00.031) 0:01:43.516 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019749", "end": "2024-11-16 12:34:58.825727", "rc": 1, "start": "2024-11-16 12:34:58.805978" } 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:34:58 -0500 (0:00:00.387) 0:01:43.903 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:34:58 -0500 (0:00:00.034) 0:01:43.937 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:34:58 -0500 (0:00:00.031) 0:01:43.968 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:34:58 -0500 (0:00:00.031) 0:01:44.000 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:34:59 -0500 (0:00:00.030) 0:01:44.030 ***** skipping: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 12:34:59 -0500 (0:00:00.031) 0:01:44.061 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 16 November 2024 12:34:59 -0500 (0:00:00.034) 0:01:44.096 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.171651", "end": "2024-11-16 12:34:59.555794", "rc": 0, "start": "2024-11-16 12:34:59.384143" } STDOUT: NetworkManager-1.51.2-1.el10.1 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 16 November 2024 12:34:59 -0500 (0:00:00.532) 0:01:44.629 ***** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.2-1.el10.1" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 16 November 2024 12:34:59 -0500 (0:00:00.034) 0:01:44.663 ***** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.51.2-1.el10.1" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:34:59 -0500 (0:00:00.032) 0:01:44.696 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:34:59 -0500 (0:00:00.080) 0:01:44.777 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:34:59 -0500 (0:00:00.049) 0:01:44.827 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:35:00 -0500 (0:00:00.364) 0:01:45.192 ***** ok: [managed-node3] => { "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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:35:00 -0500 (0:00:00.075) 0:01:45.267 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:35:00 -0500 (0:00:00.034) 0:01:45.302 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:35:00 -0500 (0:00:00.064) 0:01:45.367 ***** fatal: [managed-node3]: 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.037833", "end": "2024-11-16 12:35:00.694940", "rc": 1, "start": "2024-11-16 12:35:00.657107" } 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 16 November 2024 12:35:00 -0500 (0:00:00.401) 0:01:45.768 ***** ok: [managed-node3] => { "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.009313", "end": "2024-11-16 12:35:01.063479", "rc": 0, "start": "2024-11-16 12:35:01.054166" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:cd:50:b9:47:57 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.44.72/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2392sec preferred_lft 2392sec inet6 fe80::cd:50ff:feb9:4757/64 scope link noprefixroute valid_lft forever preferred_lft forever 48: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether c2:56:1c:e1:7a:32 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.72 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.72 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-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 16 November 2024 12:35:01 -0500 (0:00:00.368) 0:01:46.137 ***** ok: [managed-node3] => { "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.283108", "end": "2024-11-16 12:35:01.714969", "rc": 0, "start": "2024-11-16 12:35:01.431861" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 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 7329 0 --:--:-- --:--:-- --:--:-- 7439 % 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 1335 0 --:--:-- --:--:-- --:--:-- 1341 PLAY RECAP ********************************************************************* managed-node3 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Saturday 16 November 2024 12:35:01 -0500 (0:00:00.633) 0:01:46.770 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.93s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-9Wz/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-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gather current interface info ------------------------------------------- 1.37s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.20s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 0.91s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.87s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26