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-uiW executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-uiW/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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 16 November 2024 17:20:18 -0500 (0:00:00.014) 0:00:00.014 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 16 November 2024 17:20:20 -0500 (0:00:01.201) 0:00:01.216 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 16 November 2024 17:20:20 -0500 (0:00:00.027) 0:00:01.244 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 16 November 2024 17:20:20 -0500 (0:00:00.576) 0:00:01.820 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.492) 0:00:02.313 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.022) 0:00:02.335 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.015) 0:00:02.350 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.043) 0:00:02.394 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.023) 0:00:02.418 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.015) 0:00:02.433 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.012) 0:00:02.446 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.012) 0:00:02.459 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.012) 0:00:02.472 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 16 November 2024 17:20:21 -0500 (0:00:00.016) 0:00:02.489 ***** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 16 November 2024 17:20:22 -0500 (0:00:00.799) 0:00:03.289 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 16 November 2024 17:20:22 -0500 (0:00:00.023) 0:00:03.313 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:20:22 -0500 (0:00:00.045) 0:00:03.359 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:20:22 -0500 (0:00:00.039) 0:00:03.398 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:20:22 -0500 (0:00:00.166) 0:00:03.565 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:20:22 -0500 (0:00:00.058) 0:00:03.623 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:20:22 -0500 (0:00:00.052) 0:00:03.676 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003489", "end": "2024-11-16 17:20:23.093296", "rc": 0, "start": "2024-11-16 17:20:23.089807" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:20:23 -0500 (0:00:00.690) 0:00:04.366 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:20:23 -0500 (0:00:00.027) 0:00:04.394 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:20:23 -0500 (0:00:00.025) 0:00:04.420 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 17:20:23 -0500 (0:00:00.060) 0:00:04.481 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007996", "end": "2024-11-16 17:20:23.678612", "rc": 1, "start": "2024-11-16 17:20:23.670616" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 17:20:23 -0500 (0:00:00.460) 0:00:04.941 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:20:23 -0500 (0:00:00.024) 0:00:04.965 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 17:20:24 -0500 (0:00:00.374) 0:00:05.339 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:20:24 -0500 (0:00:00.027) 0:00:05.366 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:20:24 -0500 (0:00:00.040) 0:00:05.406 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:20:24 -0500 (0:00:00.069) 0:00:05.476 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:20:24 -0500 (0:00:00.119) 0:00:05.596 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:20:24 -0500 (0:00:00.127) 0:00:05.723 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:20:24 -0500 (0:00:00.075) 0:00:05.799 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:20:24 -0500 (0:00:00.067) 0:00:05.867 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:20:26 -0500 (0:00:01.929) 0:00:07.796 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:20:27 -0500 (0:00:01.358) 0:00:09.155 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.084) 0:00:09.240 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.058) 0:00:09.298 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.057) 0:00:09.355 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.102) 0:00:09.457 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.103) 0:00:09.561 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.081) 0:00:09.642 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.090) 0:00:09.733 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.192) 0:00:09.926 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.052) 0:00:09.979 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.088) 0:00:10.067 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:20:28 -0500 (0:00:00.095) 0:00:10.162 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:20:29 -0500 (0:00:00.848) 0:00:11.011 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:20:29 -0500 (0:00:00.074) 0:00:11.085 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:20:29 -0500 (0:00:00.031) 0:00:11.117 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:20:29 -0500 (0:00:00.033) 0:00:11.150 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23e0cad8-7942-4102-9de4-21ac017d251e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:20:30 -0500 (0:00:00.818) 0:00:11.969 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:20:30 -0500 (0:00:00.032) 0:00:12.002 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23e0cad8-7942-4102-9de4-21ac017d251e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:20:30 -0500 (0:00:00.044) 0:00:12.046 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23e0cad8-7942-4102-9de4-21ac017d251e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23e0cad8-7942-4102-9de4-21ac017d251e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:20:30 -0500 (0:00:00.052) 0:00:12.099 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:20:30 -0500 (0:00:00.051) 0:00:12.150 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:20:31 -0500 (0:00:00.606) 0:00:12.756 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23e0cad8-7942-4102-9de4-21ac017d251e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23e0cad8-7942-4102-9de4-21ac017d251e" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:20:31 -0500 (0:00:00.081) 0:00:12.838 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 17:20:31 -0500 (0:00:00.125) 0:00:12.964 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:20:31 -0500 (0:00:00.100) 0:00:13.064 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:20:31 -0500 (0:00:00.103) 0:00:13.168 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:20:32 -0500 (0:00:00.437) 0:00:13.605 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:20:32 -0500 (0:00:00.072) 0:00:13.678 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021404", "end": "2024-11-16 17:20:32.856476", "rc": 0, "start": "2024-11-16 17:20:32.835072" } 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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:20:32 -0500 (0:00:00.466) 0:00:14.144 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:20:32 -0500 (0:00:00.062) 0:00:14.206 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.055) 0:00:14.262 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.056) 0:00:14.318 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.055) 0:00:14.374 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.052) 0:00:14.427 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.061) 0:00:14.488 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.060) 0:00:14.548 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.046) 0:00:14.595 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.101) 0:00:14.696 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.056) 0:00:14.753 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731795630.62955, "block_size": 4096, "blocks": 0, "ctime": 1731795630.62955, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29761, "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": 1731795630.62955, "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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.391) 0:00:15.144 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:20:33 -0500 (0:00:00.064) 0:00:15.208 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:20:34 -0500 (0:00:00.071) 0:00:15.280 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:20:34 -0500 (0:00:00.223) 0:00:15.503 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.065418", "end": "2024-11-16 17:20:34.674229", "rc": 1, "start": "2024-11-16 17:20:34.608811" } STDOUT: Connection 'statebr' (23e0cad8-7942-4102-9de4-21ac017d251e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 16 November 2024 17:20:34 -0500 (0:00:00.456) 0:00:15.960 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:20:34 -0500 (0:00:00.091) 0:00:16.052 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:20:34 -0500 (0:00:00.045) 0:00:16.097 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:20:34 -0500 (0:00:00.094) 0:00:16.191 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:20:35 -0500 (0:00:00.080) 0:00:16.272 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:20:35 -0500 (0:00:00.089) 0:00:16.361 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003599", "end": "2024-11-16 17:20:35.496628", "rc": 0, "start": "2024-11-16 17:20:35.493029" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:20:35 -0500 (0:00:00.489) 0:00:16.851 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:20:35 -0500 (0:00:00.064) 0:00:16.916 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:20:35 -0500 (0:00:00.093) 0:00:17.009 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 17:20:35 -0500 (0:00:00.137) 0:00:17.147 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006461", "end": "2024-11-16 17:20:36.296183", "rc": 1, "start": "2024-11-16 17:20:36.289722" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 17:20:36 -0500 (0:00:00.441) 0:00:17.588 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:20:36 -0500 (0:00:00.091) 0:00:17.679 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 17:20:36 -0500 (0:00:00.410) 0:00:18.089 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:20:36 -0500 (0:00:00.067) 0:00:18.156 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 16 November 2024 17:20:37 -0500 (0:00:00.086) 0:00:18.243 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:20:37 -0500 (0:00:00.132) 0:00:18.376 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:20:37 -0500 (0:00:00.113) 0:00:18.489 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:20:37 -0500 (0:00:00.096) 0:00:18.585 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:20:37 -0500 (0:00:00.064) 0:00:18.650 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:20:37 -0500 (0:00:00.105) 0:00:18.756 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:20:39 -0500 (0:00:01.841) 0:00:20.598 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.905) 0:00:21.503 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.041) 0:00:21.545 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.081) 0:00:21.626 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.031) 0:00:21.658 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.055) 0:00:21.714 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.075) 0:00:21.790 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.088) 0:00:21.878 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.102) 0:00:21.981 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.153) 0:00:22.134 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:20:40 -0500 (0:00:00.068) 0:00:22.203 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:20:41 -0500 (0:00:00.052) 0:00:22.256 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:20:41 -0500 (0:00:00.122) 0:00:22.378 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:20:41 -0500 (0:00:00.782) 0:00:23.160 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:20:42 -0500 (0:00:00.120) 0:00:23.281 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:20:42 -0500 (0:00:00.075) 0:00:23.356 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:20:42 -0500 (0:00:00.068) 0:00:23.424 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b19f9cd5-4df5-400e-a38a-d30778125d18 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:20:42 -0500 (0:00:00.710) 0:00:24.135 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:20:42 -0500 (0:00:00.061) 0:00:24.196 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b19f9cd5-4df5-400e-a38a-d30778125d18" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:20:43 -0500 (0:00:00.070) 0:00:24.267 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b19f9cd5-4df5-400e-a38a-d30778125d18\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b19f9cd5-4df5-400e-a38a-d30778125d18" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:20:43 -0500 (0:00:00.078) 0:00:24.346 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:20:43 -0500 (0:00:00.099) 0:00:24.445 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 16 November 2024 17:20:43 -0500 (0:00:00.512) 0:00:24.958 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b19f9cd5-4df5-400e-a38a-d30778125d18\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b19f9cd5-4df5-400e-a38a-d30778125d18" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:20:43 -0500 (0:00:00.037) 0:00:24.995 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 17:20:43 -0500 (0:00:00.067) 0:00:25.062 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:20:43 -0500 (0:00:00.083) 0:00:25.146 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 17:20:44 -0500 (0:00:00.413) 0:00:25.559 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 17:20:44 -0500 (0:00:00.044) 0:00:25.604 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:20:44 -0500 (0:00:00.077) 0:00:25.681 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:20:44 -0500 (0:00:00.043) 0:00:25.724 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:20:44 -0500 (0:00:00.409) 0:00:26.134 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:20:44 -0500 (0:00:00.052) 0:00:26.186 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020749", "end": "2024-11-16 17:20:45.311869", "rc": 0, "start": "2024-11-16 17:20:45.291120" } 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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:20:45 -0500 (0:00:00.454) 0:00:26.641 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:20:45 -0500 (0:00:00.113) 0:00:26.755 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:20:45 -0500 (0:00:00.060) 0:00:26.816 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:20:45 -0500 (0:00:00.114) 0:00:26.930 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:20:45 -0500 (0:00:00.081) 0:00:27.011 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 17:20:46 -0500 (0:00:00.205) 0:00:27.217 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 17:20:46 -0500 (0:00:00.056) 0:00:27.274 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 17:20:46 -0500 (0:00:00.049) 0:00:27.324 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:20:46 -0500 (0:00:00.046) 0:00:27.370 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:20:46 -0500 (0:00:00.058) 0:00:27.429 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:20:46 -0500 (0:00:00.047) 0:00:27.476 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:20:46 -0500 (0:00:00.118) 0:00:27.595 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042794", "end": "2024-11-16 17:20:46.839321", "rc": 1, "start": "2024-11-16 17:20:46.796527" } STDOUT: Connection 'statebr' (b19f9cd5-4df5-400e-a38a-d30778125d18) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 16 November 2024 17:20:46 -0500 (0:00:00.546) 0:00:28.141 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:20:47 -0500 (0:00:00.125) 0:00:28.267 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:20:47 -0500 (0:00:00.062) 0:00:28.329 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:20:47 -0500 (0:00:00.139) 0:00:28.468 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:20:47 -0500 (0:00:00.120) 0:00:28.589 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:20:47 -0500 (0:00:00.113) 0:00:28.703 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003558", "end": "2024-11-16 17:20:47.855216", "rc": 0, "start": "2024-11-16 17:20:47.851658" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:20:47 -0500 (0:00:00.434) 0:00:29.137 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:20:48 -0500 (0:00:00.081) 0:00:29.219 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:20:48 -0500 (0:00:00.036) 0:00:29.255 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:20:48 -0500 (0:00:00.058) 0:00:29.313 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:20:48 -0500 (0:00:00.076) 0:00:29.390 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:20:48 -0500 (0:00:00.107) 0:00:29.498 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:20:48 -0500 (0:00:00.132) 0:00:29.630 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:20:48 -0500 (0:00:00.081) 0:00:29.712 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:20:48 -0500 (0:00:00.079) 0:00:29.791 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:20:50 -0500 (0:00:01.869) 0:00:31.661 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:20:51 -0500 (0:00:00.928) 0:00:32.589 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:20:51 -0500 (0:00:00.057) 0:00:32.647 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:20:51 -0500 (0:00:00.063) 0:00:32.710 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:20:51 -0500 (0:00:00.104) 0:00:32.814 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:20:51 -0500 (0:00:00.084) 0:00:32.899 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:20:51 -0500 (0:00:00.112) 0:00:33.012 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:20:51 -0500 (0:00:00.092) 0:00:33.104 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:20:51 -0500 (0:00:00.099) 0:00:33.204 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:20:52 -0500 (0:00:00.165) 0:00:33.370 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:20:52 -0500 (0:00:00.085) 0:00:33.455 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:20:52 -0500 (0:00:00.063) 0:00:33.518 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:20:52 -0500 (0:00:00.107) 0:00:33.626 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:20:53 -0500 (0:00:00.639) 0:00:34.265 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:20:53 -0500 (0:00:00.103) 0:00:34.369 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:20:53 -0500 (0:00:00.056) 0:00:34.425 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:20:53 -0500 (0:00:00.044) 0:00:34.470 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.771) 0:00:35.242 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.046) 0:00:35.288 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.045) 0:00:35.334 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.063) 0:00:35.397 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.053) 0:00:35.450 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.479) 0:00:35.930 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.062) 0:00:35.993 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.086) 0:00:36.079 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:20:54 -0500 (0:00:00.087) 0:00:36.166 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:20:55 -0500 (0:00:00.064) 0:00:36.231 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:20:55 -0500 (0:00:00.059) 0:00:36.291 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:20:55 -0500 (0:00:00.037) 0:00:36.329 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:20:55 -0500 (0:00:00.038) 0:00:36.367 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:20:57 -0500 (0:00:01.872) 0:00:38.239 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:20:57 -0500 (0:00:00.956) 0:00:39.196 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.067) 0:00:39.264 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.118) 0:00:39.383 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.056) 0:00:39.440 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.087) 0:00:39.528 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.082) 0:00:39.610 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.090) 0:00:39.701 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.087) 0:00:39.788 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.106) 0:00:39.895 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.033) 0:00:39.928 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.031) 0:00:39.960 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:20:58 -0500 (0:00:00.070) 0:00:40.031 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:20:59 -0500 (0:00:00.681) 0:00:40.713 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:20:59 -0500 (0:00:00.093) 0:00:40.806 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:20:59 -0500 (0:00:00.061) 0:00:40.868 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:20:59 -0500 (0:00:00.038) 0:00:40.906 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:21:00 -0500 (0:00:00.635) 0:00:41.542 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:21:00 -0500 (0:00:00.097) 0:00:41.640 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:21:00 -0500 (0:00:00.072) 0:00:41.713 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0f30d32-4b97-48b3-99ea-4294d52a45b9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:21:00 -0500 (0:00:00.089) 0:00:41.802 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:21:00 -0500 (0:00:00.057) 0:00:41.859 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:21:01 -0500 (0:00:00.616) 0:00:42.475 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 17:21:01 -0500 (0:00:00.096) 0:00:42.572 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:21:01 -0500 (0:00:00.066) 0:00:42.639 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731795653.8770254, "block_size": 4096, "blocks": 0, "ctime": 1731795653.8770254, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29892, "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": 1731795653.8770254, "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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 17:21:01 -0500 (0:00:00.413) 0:00:43.053 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 17:21:01 -0500 (0:00:00.063) 0:00:43.116 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:21:02 -0500 (0:00:00.100) 0:00:43.216 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:21:02 -0500 (0:00:00.059) 0:00:43.275 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:21:02 -0500 (0:00:00.408) 0:00:43.684 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:21:02 -0500 (0:00:00.032) 0:00:43.717 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021776", "end": "2024-11-16 17:21:02.841248", "rc": 0, "start": "2024-11-16 17:21:02.819472" } 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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:21:02 -0500 (0:00:00.442) 0:00:44.160 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.065) 0:00:44.225 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.074) 0:00:44.300 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.063) 0:00:44.363 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.071) 0:00:44.435 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.059) 0:00:44.495 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.095) 0:00:44.591 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.063) 0:00:44.655 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.056) 0:00:44.712 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.067) 0:00:44.779 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.035) 0:00:44.815 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:21:03 -0500 (0:00:00.061) 0:00:44.876 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.067463", "end": "2024-11-16 17:21:04.083974", "rc": 1, "start": "2024-11-16 17:21:04.016511" } STDOUT: Connection 'statebr' (a0f30d32-4b97-48b3-99ea-4294d52a45b9) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 16 November 2024 17:21:04 -0500 (0:00:00.541) 0:00:45.418 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:21:04 -0500 (0:00:00.153) 0:00:45.571 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:21:04 -0500 (0:00:00.105) 0:00:45.677 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:21:04 -0500 (0:00:00.124) 0:00:45.801 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:21:04 -0500 (0:00:00.066) 0:00:45.868 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:21:04 -0500 (0:00:00.065) 0:00:45.933 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003493", "end": "2024-11-16 17:21:05.068408", "rc": 0, "start": "2024-11-16 17:21:05.064915" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.414) 0:00:46.347 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.036) 0:00:46.384 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.078) 0:00:46.463 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.097) 0:00:46.560 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.123) 0:00:46.684 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.114) 0:00:46.798 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.101) 0:00:46.900 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.064) 0:00:46.964 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:21:05 -0500 (0:00:00.068) 0:00:47.033 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:21:07 -0500 (0:00:01.846) 0:00:48.879 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:21:08 -0500 (0:00:00.854) 0:00:49.734 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:21:08 -0500 (0:00:00.037) 0:00:49.772 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:21:08 -0500 (0:00:00.032) 0:00:49.804 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:21:08 -0500 (0:00:00.032) 0:00:49.837 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:21:08 -0500 (0:00:00.138) 0:00:49.975 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:21:08 -0500 (0:00:00.065) 0:00:50.041 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:21:08 -0500 (0:00:00.052) 0:00:50.094 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:21:08 -0500 (0:00:00.065) 0:00:50.159 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:21:09 -0500 (0:00:00.128) 0:00:50.287 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:21:09 -0500 (0:00:00.061) 0:00:50.349 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:21:09 -0500 (0:00:00.080) 0:00:50.429 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:21:09 -0500 (0:00:00.095) 0:00:50.524 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:21:10 -0500 (0:00:00.705) 0:00:51.230 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:21:10 -0500 (0:00:00.068) 0:00:51.298 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:21:10 -0500 (0:00:00.042) 0:00:51.341 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:21:10 -0500 (0:00:00.047) 0:00:51.388 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:21:10 -0500 (0:00:00.639) 0:00:52.028 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:21:10 -0500 (0:00:00.058) 0:00:52.087 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:21:10 -0500 (0:00:00.048) 0:00:52.135 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:21:10 -0500 (0:00:00.050) 0:00:52.186 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:21:11 -0500 (0:00:00.051) 0:00:52.237 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:21:11 -0500 (0:00:00.478) 0:00:52.716 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 17:21:11 -0500 (0:00:00.062) 0:00:52.779 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:21:11 -0500 (0:00:00.104) 0:00:52.883 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:21:11 -0500 (0:00:00.069) 0:00:52.953 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:21:11 -0500 (0:00:00.060) 0:00:53.013 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:21:11 -0500 (0:00:00.037) 0:00:53.051 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:21:11 -0500 (0:00:00.051) 0:00:53.103 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:21:13 -0500 (0:00:01.860) 0:00:54.963 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:21:14 -0500 (0:00:01.005) 0:00:55.969 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:21:14 -0500 (0:00:00.048) 0:00:56.018 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:21:14 -0500 (0:00:00.043) 0:00:56.062 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:21:14 -0500 (0:00:00.042) 0:00:56.104 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:21:14 -0500 (0:00:00.067) 0:00:56.171 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:21:15 -0500 (0:00:00.107) 0:00:56.279 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:21:15 -0500 (0:00:00.054) 0:00:56.333 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:21:15 -0500 (0:00:00.078) 0:00:56.412 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:21:15 -0500 (0:00:00.096) 0:00:56.508 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:21:15 -0500 (0:00:00.054) 0:00:56.563 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:21:15 -0500 (0:00:00.054) 0:00:56.617 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:21:15 -0500 (0:00:00.103) 0:00:56.721 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:21:16 -0500 (0:00:00.686) 0:00:57.408 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:21:16 -0500 (0:00:00.065) 0:00:57.473 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:21:16 -0500 (0:00:00.033) 0:00:57.507 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:21:16 -0500 (0:00:00.034) 0:00:57.541 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:21:16 -0500 (0:00:00.594) 0:00:58.135 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:21:16 -0500 (0:00:00.053) 0:00:58.189 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.045) 0:00:58.234 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c7822f8d-45a7-4e75-9adb-cc39699df384 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.045) 0:00:58.280 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.041) 0:00:58.321 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.438) 0:00:58.760 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.113) 0:00:58.874 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.076) 0:00:58.950 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.066) 0:00:59.017 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.064) 0:00:59.082 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.054) 0:00:59.136 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:21:17 -0500 (0:00:00.062) 0:00:59.199 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:21:19 -0500 (0:00:01.879) 0:01:01.078 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:21:20 -0500 (0:00:00.988) 0:01:02.067 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:21:20 -0500 (0:00:00.045) 0:01:02.112 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:21:20 -0500 (0:00:00.038) 0:01:02.150 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:21:20 -0500 (0:00:00.036) 0:01:02.187 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:21:21 -0500 (0:00:00.055) 0:01:02.243 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:21:21 -0500 (0:00:00.066) 0:01:02.309 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:21:21 -0500 (0:00:00.158) 0:01:02.467 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:21:21 -0500 (0:00:00.080) 0:01:02.547 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:21:21 -0500 (0:00:00.164) 0:01:02.712 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:21:21 -0500 (0:00:00.057) 0:01:02.769 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:21:21 -0500 (0:00:00.054) 0:01:02.824 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:21:21 -0500 (0:00:00.075) 0:01:02.900 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:21:22 -0500 (0:00:00.669) 0:01:03.569 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:21:22 -0500 (0:00:00.108) 0:01:03.677 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:21:22 -0500 (0:00:00.073) 0:01:03.751 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:21:22 -0500 (0:00:00.058) 0:01:03.809 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:21:23 -0500 (0:00:00.744) 0:01:04.554 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:21:23 -0500 (0:00:00.068) 0:01:04.622 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:21:23 -0500 (0:00:00.075) 0:01:04.698 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:21:23 -0500 (0:00:00.091) 0:01:04.790 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:21:23 -0500 (0:00:00.076) 0:01:04.866 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:21:24 -0500 (0:00:00.436) 0:01:05.302 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 17:21:24 -0500 (0:00:00.085) 0:01:05.388 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:21:24 -0500 (0:00:00.114) 0:01:05.502 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731795670.6711228, "block_size": 4096, "blocks": 0, "ctime": 1731795670.6711228, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30023, "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": 1731795670.6711228, "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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 17:21:24 -0500 (0:00:00.401) 0:01:05.904 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 17:21:24 -0500 (0:00:00.059) 0:01:05.963 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:21:24 -0500 (0:00:00.114) 0:01:06.077 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:21:24 -0500 (0:00:00.055) 0:01:06.133 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:21:25 -0500 (0:00:00.422) 0:01:06.556 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:21:25 -0500 (0:00:00.084) 0:01:06.641 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021954", "end": "2024-11-16 17:21:25.845134", "rc": 1, "start": "2024-11-16 17:21:25.823180" } 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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:21:25 -0500 (0:00:00.530) 0:01:07.171 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.072) 0:01:07.243 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.067) 0:01:07.311 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.058) 0:01:07.369 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.059) 0:01:07.429 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.060) 0:01:07.489 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.090) 0:01:07.580 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.092) 0:01:07.673 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.067) 0:01:07.741 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:21:26 -0500 (0:00:00.207) 0:01:07.948 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.076017", "end": "2024-11-16 17:21:27.181440", "rc": 1, "start": "2024-11-16 17:21:27.105423" } STDOUT: Connection 'statebr' (c7822f8d-45a7-4e75-9adb-cc39699df384) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 16 November 2024 17:21:27 -0500 (0:00:00.541) 0:01:08.489 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:21:27 -0500 (0:00:00.101) 0:01:08.591 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:21:27 -0500 (0:00:00.061) 0:01:08.652 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:21:27 -0500 (0:00:00.164) 0:01:08.816 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:21:27 -0500 (0:00:00.144) 0:01:08.961 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:21:27 -0500 (0:00:00.162) 0:01:09.123 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003562", "end": "2024-11-16 17:21:28.351185", "rc": 0, "start": "2024-11-16 17:21:28.347623" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:21:28 -0500 (0:00:00.530) 0:01:09.653 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:21:28 -0500 (0:00:00.060) 0:01:09.713 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:21:28 -0500 (0:00:00.053) 0:01:09.767 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:21:28 -0500 (0:00:00.101) 0:01:09.868 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:21:28 -0500 (0:00:00.105) 0:01:09.974 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:21:28 -0500 (0:00:00.198) 0:01:10.172 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:21:29 -0500 (0:00:00.138) 0:01:10.311 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:21:29 -0500 (0:00:00.129) 0:01:10.441 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:21:29 -0500 (0:00:00.071) 0:01:10.512 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:21:31 -0500 (0:00:01.892) 0:01:12.405 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.957) 0:01:13.363 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.046) 0:01:13.409 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.045) 0:01:13.454 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.041) 0:01:13.495 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.054) 0:01:13.550 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.064) 0:01:13.614 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.074) 0:01:13.688 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.099) 0:01:13.787 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.115) 0:01:13.903 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.041) 0:01:13.944 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.087) 0:01:14.031 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:21:32 -0500 (0:00:00.083) 0:01:14.114 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:21:33 -0500 (0:00:00.766) 0:01:14.881 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:21:33 -0500 (0:00:00.201) 0:01:15.083 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:21:34 -0500 (0:00:00.129) 0:01:15.213 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:21:34 -0500 (0:00:00.046) 0:01:15.259 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:21:34 -0500 (0:00:00.679) 0:01:15.939 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:21:34 -0500 (0:00:00.059) 0:01:15.999 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:21:34 -0500 (0:00:00.063) 0:01:16.062 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:21:34 -0500 (0:00:00.066) 0:01:16.129 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:21:34 -0500 (0:00:00.077) 0:01:16.206 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:21:35 -0500 (0:00:00.427) 0:01:16.634 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 17:21:35 -0500 (0:00:00.043) 0:01:16.677 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:21:35 -0500 (0:00:00.116) 0:01:16.794 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:21:35 -0500 (0:00:00.089) 0:01:16.884 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:21:35 -0500 (0:00:00.167) 0:01:17.051 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:21:35 -0500 (0:00:00.043) 0:01:17.095 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:21:35 -0500 (0:00:00.049) 0:01:17.144 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:21:37 -0500 (0:00:01.900) 0:01:19.044 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:21:38 -0500 (0:00:00.895) 0:01:19.940 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:21:38 -0500 (0:00:00.038) 0:01:19.978 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:21:38 -0500 (0:00:00.033) 0:01:20.011 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:21:38 -0500 (0:00:00.033) 0:01:20.045 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:21:38 -0500 (0:00:00.054) 0:01:20.100 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:21:38 -0500 (0:00:00.065) 0:01:20.165 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:21:39 -0500 (0:00:00.055) 0:01:20.221 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:21:39 -0500 (0:00:00.062) 0:01:20.283 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:21:39 -0500 (0:00:00.105) 0:01:20.389 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:21:39 -0500 (0:00:00.035) 0:01:20.424 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:21:39 -0500 (0:00:00.033) 0:01:20.457 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:21:39 -0500 (0:00:00.108) 0:01:20.566 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:21:39 -0500 (0:00:00.617) 0:01:21.183 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:21:40 -0500 (0:00:00.070) 0:01:21.254 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:21:40 -0500 (0:00:00.040) 0:01:21.294 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:21:40 -0500 (0:00:00.054) 0:01:21.349 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:21:40 -0500 (0:00:00.669) 0:01:22.018 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:21:40 -0500 (0:00:00.038) 0:01:22.057 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:21:40 -0500 (0:00:00.051) 0:01:22.109 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 69d75396-533b-4ed4-b3da-0aa5c3bda2f3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:21:40 -0500 (0:00:00.044) 0:01:22.154 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:21:40 -0500 (0:00:00.034) 0:01:22.188 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 16 November 2024 17:21:41 -0500 (0:00:00.433) 0:01:22.622 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:21:41 -0500 (0:00:00.130) 0:01:22.752 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:21:41 -0500 (0:00:00.115) 0:01:22.868 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:21:41 -0500 (0:00:00.096) 0:01:22.965 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:21:41 -0500 (0:00:00.064) 0:01:23.030 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:21:41 -0500 (0:00:00.125) 0:01:23.155 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:21:43 -0500 (0:00:01.796) 0:01:24.951 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:21:44 -0500 (0:00:00.927) 0:01:25.879 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:21:44 -0500 (0:00:00.046) 0:01:25.925 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:21:44 -0500 (0:00:00.058) 0:01:25.984 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:21:44 -0500 (0:00:00.055) 0:01:26.039 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:21:44 -0500 (0:00:00.091) 0:01:26.130 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:21:45 -0500 (0:00:00.116) 0:01:26.247 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:21:45 -0500 (0:00:00.108) 0:01:26.355 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:21:45 -0500 (0:00:00.081) 0:01:26.436 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:21:45 -0500 (0:00:00.114) 0:01:26.550 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:21:45 -0500 (0:00:00.034) 0:01:26.585 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:21:45 -0500 (0:00:00.041) 0:01:26.627 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:21:45 -0500 (0:00:00.074) 0:01:26.702 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:21:46 -0500 (0:00:00.692) 0:01:27.394 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:21:46 -0500 (0:00:00.178) 0:01:27.573 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:21:46 -0500 (0:00:00.144) 0:01:27.717 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:21:46 -0500 (0:00:00.058) 0:01:27.776 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:21:47 -0500 (0:00:00.649) 0:01:28.426 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:21:47 -0500 (0:00:00.069) 0:01:28.496 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:21:47 -0500 (0:00:00.071) 0:01:28.567 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:21:47 -0500 (0:00:00.063) 0:01:28.630 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:21:47 -0500 (0:00:00.064) 0:01:28.695 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:21:47 -0500 (0:00:00.470) 0:01:29.166 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 17:21:48 -0500 (0:00:00.121) 0:01:29.287 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:21:48 -0500 (0:00:00.139) 0:01:29.426 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:21:48 -0500 (0:00:00.101) 0:01:29.528 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:21:48 -0500 (0:00:00.076) 0:01:29.604 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:21:48 -0500 (0:00:00.038) 0:01:29.643 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:21:48 -0500 (0:00:00.037) 0:01:29.681 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:21:50 -0500 (0:00:01.863) 0:01:31.544 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.871) 0:01:32.415 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.074) 0:01:32.490 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.055) 0:01:32.545 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.056) 0:01:32.602 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.069) 0:01:32.671 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.080) 0:01:32.751 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.056) 0:01:32.808 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.075) 0:01:32.883 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.124) 0:01:33.008 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.055) 0:01:33.063 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:21:51 -0500 (0:00:00.057) 0:01:33.121 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:21:52 -0500 (0:00:00.101) 0:01:33.222 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:21:52 -0500 (0:00:00.839) 0:01:34.062 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:21:52 -0500 (0:00:00.110) 0:01:34.172 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:21:52 -0500 (0:00:00.039) 0:01:34.211 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:21:53 -0500 (0:00:00.099) 0:01:34.311 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:21:53 -0500 (0:00:00.685) 0:01:34.997 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:21:53 -0500 (0:00:00.048) 0:01:35.045 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:21:53 -0500 (0:00:00.042) 0:01:35.088 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:21:53 -0500 (0:00:00.044) 0:01:35.132 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:21:53 -0500 (0:00:00.044) 0:01:35.177 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:21:54 -0500 (0:00:00.393) 0:01:35.571 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 17:21:54 -0500 (0:00:00.062) 0:01:35.634 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:21:54 -0500 (0:00:00.062) 0:01:35.696 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:21:54 -0500 (0:00:00.060) 0:01:35.757 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:21:54 -0500 (0:00:00.413) 0:01:36.171 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:21:54 -0500 (0:00:00.031) 0:01:36.203 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020884", "end": "2024-11-16 17:21:55.348576", "rc": 1, "start": "2024-11-16 17:21:55.327692" } 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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.434) 0:01:36.637 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.043) 0:01:36.680 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.038) 0:01:36.719 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.086) 0:01:36.805 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.033) 0:01:36.839 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.035) 0:01:36.874 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.036) 0:01:36.911 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.132) 0:01:37.044 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:21:55 -0500 (0:00:00.093) 0:01:37.137 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 17:21:56 -0500 (0:00:00.446) 0:01:37.584 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:21:56 -0500 (0:00:00.041) 0:01:37.625 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:21:56 -0500 (0:00:00.036) 0:01:37.661 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:21:56 -0500 (0:00:00.061) 0:01:37.723 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.038987", "end": "2024-11-16 17:21:56.862746", "rc": 1, "start": "2024-11-16 17:21:56.823759" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 16 November 2024 17:21:56 -0500 (0:00:00.416) 0:01:38.140 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:21:56 -0500 (0:00:00.058) 0:01:38.199 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.035) 0:01:38.234 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.071) 0:01:38.306 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.097) 0:01:38.404 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.052) 0:01:38.457 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003473", "end": "2024-11-16 17:21:57.577151", "rc": 0, "start": "2024-11-16 17:21:57.573678" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.402) 0:01:38.859 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.037) 0:01:38.896 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.036) 0:01:38.933 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.066) 0:01:39.000 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:21:57 -0500 (0:00:00.111) 0:01:39.111 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:21:58 -0500 (0:00:00.113) 0:01:39.224 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:21:58 -0500 (0:00:00.102) 0:01:39.327 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:21:58 -0500 (0:00:00.071) 0:01:39.399 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:21:58 -0500 (0:00:00.064) 0:01:39.463 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:22:00 -0500 (0:00:01.872) 0:01:41.336 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:22:01 -0500 (0:00:01.179) 0:01:42.515 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.046) 0:01:42.562 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.045) 0:01:42.607 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.039) 0:01:42.647 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.060) 0:01:42.707 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.100) 0:01:42.808 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.089) 0:01:42.897 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.112) 0:01:43.010 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.123) 0:01:43.133 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:22:01 -0500 (0:00:00.071) 0:01:43.205 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:22:02 -0500 (0:00:00.071) 0:01:43.277 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:22:02 -0500 (0:00:00.121) 0:01:43.398 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:22:02 -0500 (0:00:00.651) 0:01:44.050 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:22:02 -0500 (0:00:00.103) 0:01:44.153 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:22:02 -0500 (0:00:00.050) 0:01:44.204 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:22:03 -0500 (0:00:00.059) 0:01:44.263 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:22:03 -0500 (0:00:00.771) 0:01:45.034 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:22:03 -0500 (0:00:00.162) 0:01:45.197 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:22:04 -0500 (0:00:00.065) 0:01:45.262 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:22:04 -0500 (0:00:00.084) 0:01:45.347 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:22:04 -0500 (0:00:00.074) 0:01:45.422 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:22:04 -0500 (0:00:00.562) 0:01:45.984 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 17:22:04 -0500 (0:00:00.075) 0:01:46.059 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:22:04 -0500 (0:00:00.144) 0:01:46.203 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:22:05 -0500 (0:00:00.110) 0:01:46.314 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:22:05 -0500 (0:00:00.146) 0:01:46.461 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:22:05 -0500 (0:00:00.085) 0:01:46.546 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:22:05 -0500 (0:00:00.084) 0:01:46.631 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:22:07 -0500 (0:00:01.843) 0:01:48.475 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:22:08 -0500 (0:00:00.989) 0:01:49.464 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:22:08 -0500 (0:00:00.068) 0:01:49.533 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:22:08 -0500 (0:00:00.059) 0:01:49.592 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:22:08 -0500 (0:00:00.068) 0:01:49.660 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:22:08 -0500 (0:00:00.161) 0:01:49.822 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:22:08 -0500 (0:00:00.164) 0:01:49.986 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:22:08 -0500 (0:00:00.088) 0:01:50.074 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:22:08 -0500 (0:00:00.106) 0:01:50.180 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:22:09 -0500 (0:00:00.175) 0:01:50.356 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:22:09 -0500 (0:00:00.079) 0:01:50.436 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:22:09 -0500 (0:00:00.060) 0:01:50.496 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:22:09 -0500 (0:00:00.138) 0:01:50.635 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:22:10 -0500 (0:00:00.738) 0:01:51.373 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:22:10 -0500 (0:00:00.063) 0:01:51.437 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:22:10 -0500 (0:00:00.034) 0:01:51.471 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:22:10 -0500 (0:00:00.047) 0:01:51.519 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:22:10 -0500 (0:00:00.624) 0:01:52.143 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:22:10 -0500 (0:00:00.033) 0:01:52.177 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.038) 0:01:52.215 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fdff32a7-1929-467f-9ed1-63cfeab9079b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.088) 0:01:52.303 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.033) 0:01:52.337 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.412) 0:01:52.749 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.073) 0:01:52.823 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.088) 0:01:52.911 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.099) 0:01:53.011 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.062) 0:01:53.074 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:22:11 -0500 (0:00:00.062) 0:01:53.137 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:22:13 -0500 (0:00:01.799) 0:01:54.936 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:22:14 -0500 (0:00:00.869) 0:01:55.806 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:22:14 -0500 (0:00:00.038) 0:01:55.845 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:22:14 -0500 (0:00:00.033) 0:01:55.879 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:22:14 -0500 (0:00:00.090) 0:01:55.969 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:22:14 -0500 (0:00:00.055) 0:01:56.025 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:22:14 -0500 (0:00:00.070) 0:01:56.096 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:22:14 -0500 (0:00:00.063) 0:01:56.159 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:22:15 -0500 (0:00:00.097) 0:01:56.256 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:22:15 -0500 (0:00:00.118) 0:01:56.375 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:22:15 -0500 (0:00:00.041) 0:01:56.417 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:22:15 -0500 (0:00:00.035) 0:01:56.452 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:22:15 -0500 (0:00:00.064) 0:01:56.516 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:22:15 -0500 (0:00:00.651) 0:01:57.168 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:22:16 -0500 (0:00:00.118) 0:01:57.287 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:22:16 -0500 (0:00:00.050) 0:01:57.337 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:22:16 -0500 (0:00:00.057) 0:01:57.395 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:22:16 -0500 (0:00:00.737) 0:01:58.133 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:22:16 -0500 (0:00:00.034) 0:01:58.167 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:22:16 -0500 (0:00:00.038) 0:01:58.206 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.038) 0:01:58.244 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.034) 0:01:58.279 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.453) 0:01:58.732 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.060) 0:01:58.792 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.074) 0:01:58.866 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.066) 0:01:58.933 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.060) 0:01:58.993 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.039) 0:01:59.032 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:22:17 -0500 (0:00:00.039) 0:01:59.072 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:22:20 -0500 (0:00:02.758) 0:02:01.830 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.850) 0:02:02.680 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.037) 0:02:02.718 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.034) 0:02:02.752 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.037) 0:02:02.790 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.110) 0:02:02.901 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.065) 0:02:02.966 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.058) 0:02:03.025 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.064) 0:02:03.089 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:22:21 -0500 (0:00:00.094) 0:02:03.184 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:22:22 -0500 (0:00:00.034) 0:02:03.219 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:22:22 -0500 (0:00:00.032) 0:02:03.251 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:22:22 -0500 (0:00:00.067) 0:02:03.319 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:22:22 -0500 (0:00:00.597) 0:02:03.916 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:22:22 -0500 (0:00:00.063) 0:02:03.979 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:22:22 -0500 (0:00:00.037) 0:02:04.017 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:22:22 -0500 (0:00:00.043) 0:02:04.061 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:22:23 -0500 (0:00:00.641) 0:02:04.702 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:22:23 -0500 (0:00:00.032) 0:02:04.735 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:22:23 -0500 (0:00:00.038) 0:02:04.773 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:22:23 -0500 (0:00:00.039) 0:02:04.812 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:22:23 -0500 (0:00:00.044) 0:02:04.856 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:22:24 -0500 (0:00:00.407) 0:02:05.264 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 17:22:24 -0500 (0:00:00.119) 0:02:05.383 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:22:24 -0500 (0:00:00.058) 0:02:05.442 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:22:24 -0500 (0:00:00.034) 0:02:05.477 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:22:24 -0500 (0:00:00.384) 0:02:05.861 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:22:24 -0500 (0:00:00.047) 0:02:05.909 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020046", "end": "2024-11-16 17:22:25.042755", "rc": 1, "start": "2024-11-16 17:22:25.022709" } 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-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:22:25 -0500 (0:00:00.436) 0:02:06.345 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:22:25 -0500 (0:00:00.064) 0:02:06.410 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:22:25 -0500 (0:00:00.060) 0:02:06.471 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:22:25 -0500 (0:00:00.054) 0:02:06.525 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:22:25 -0500 (0:00:00.046) 0:02:06.572 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 17:22:25 -0500 (0:00:00.039) 0:02:06.611 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 16 November 2024 17:22:25 -0500 (0:00:00.038) 0:02:06.650 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.269709", "end": "2024-11-16 17:22:26.018728", "rc": 0, "start": "2024-11-16 17:22:25.749019" } STDOUT: NetworkManager-1.51.2-2.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.652) 0:02:07.302 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.038) 0:02:07.340 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.51.2-2.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.036) 0:02:07.377 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.162) 0:02:07.539 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.072) 0:02:07.612 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.389) 0:02:08.002 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.039) 0:02:08.041 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.038) 0:02:08.079 ***** included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:22:26 -0500 (0:00:00.069) 0:02:08.149 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.038808", "end": "2024-11-16 17:22:27.295026", "rc": 1, "start": "2024-11-16 17:22:27.256218" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 16 November 2024 17:22:27 -0500 (0:00:00.445) 0:02:08.594 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008904", "end": "2024-11-16 17:22:27.725932", "rc": 0, "start": "2024-11-16 17:22:27.717028" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:14:90:4f:8d:09 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.175/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2745sec preferred_lft 2745sec inet6 fe80::c14:90ff:fe4f:8d09/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.175 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.175 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 16 November 2024 17:22:27 -0500 (0:00:00.424) 0:02:09.018 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.444171", "end": "2024-11-16 17:22:28.582033", "rc": 0, "start": "2024-11-16 17:22:28.137862" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 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:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 1564 0 --:--:-- --:--:-- --:--:-- 1572 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1299 0 --:--:-- --:--:-- --:--:-- 1293 PLAY RECAP ********************************************************************* managed-node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 16 November 2024 17:22:28 -0500 (0:00:00.823) 0:02:09.842 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.76s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-uiW/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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-uiW/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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-uiW/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-uiW/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-uiW/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-uiW/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-uiW/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-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.20s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.18s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/collections-uiW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26