ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-1Oe executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Oct 29 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-1Oe/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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.017) 0:00:00.017 ***** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 07 December 2024 07:55:36 -0500 (0:00:01.447) 0:00:01.464 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 07 December 2024 07:55:36 -0500 (0:00:00.047) 0:00:01.512 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.516) 0:00:02.029 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.478) 0:00:02.507 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.035) 0:00:02.542 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.014) 0:00:02.556 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.049) 0:00:02.606 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.013) 0:00:02.620 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.017) 0:00:02.637 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.013) 0:00:02.651 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.012) 0:00:02.664 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.015) 0:00:02.679 ***** ok: [managed-node3] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.015) 0:00:02.695 ***** ok: [managed-node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 07 December 2024 07:55:40 -0500 (0:00:01.880) 0:00:04.575 ***** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.016) 0:00:04.592 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.028) 0:00:04.621 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.019) 0:00:04.640 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.053) 0:00:04.693 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.019) 0:00:04.712 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.016) 0:00:04.729 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003243", "end": "2024-12-07 07:55:40.572774", "rc": 0, "start": "2024-12-07 07:55:40.569531" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.413) 0:00:05.143 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.018) 0:00:05.161 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.016) 0:00:05.178 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.031) 0:00:05.210 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008140", "end": "2024-12-07 07:55:40.991868", "rc": 1, "start": "2024-12-07 07:55:40.983728" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.351) 0:00:05.561 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.020) 0:00:05.582 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.331) 0:00:05.913 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.018) 0:00:05.932 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.025) 0:00:05.957 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.040) 0:00:05.997 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.031) 0:00:06.028 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.033) 0:00:06.062 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.018) 0:00:06.080 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.017) 0:00:06.097 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:55:43 -0500 (0:00:01.916) 0:00:08.013 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.951) 0:00:08.965 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.043) 0:00:09.009 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.045) 0:00:09.054 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.047) 0:00:09.102 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.092) 0:00:09.194 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.094) 0:00:09.289 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.064) 0:00:09.354 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.089) 0:00:09.444 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.090) 0:00:09.534 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.028) 0:00:09.563 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.051) 0:00:09.615 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.059) 0:00:09.675 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.808) 0:00:10.483 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.058) 0:00:10.541 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.029) 0:00:10.570 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.029) 0:00:10.599 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7253e7de-f13b-4865-9f3d-004b982c0758 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.781) 0:00:11.381 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.029) 0:00:11.410 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7253e7de-f13b-4865-9f3d-004b982c0758" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.033) 0:00:11.443 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7253e7de-f13b-4865-9f3d-004b982c0758\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7253e7de-f13b-4865-9f3d-004b982c0758" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.037) 0:00:11.481 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.041) 0:00:11.523 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.441) 0:00:11.964 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7253e7de-f13b-4865-9f3d-004b982c0758\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7253e7de-f13b-4865-9f3d-004b982c0758" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.038) 0:00:12.003 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.092) 0:00:12.095 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.093) 0:00:12.188 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.097) 0:00:12.286 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.376) 0:00:12.662 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.029) 0:00:12.692 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018776", "end": "2024-12-07 07:55:48.483280", "rc": 0, "start": "2024-12-07 07:55:48.464504" } 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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.376) 0:00:13.068 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.035) 0:00:13.103 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.030) 0:00:13.134 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.029) 0:00:13.164 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.029) 0:00:13.194 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.028) 0:00:13.223 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.033) 0:00:13.256 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.032) 0:00:13.289 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.032) 0:00:13.321 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.072) 0:00:13.393 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.046) 0:00:13.439 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576146.7377245, "block_size": 4096, "blocks": 0, "ctime": 1733576146.7377245, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32028, "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": 1733576146.7377245, "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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.356) 0:00:13.796 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.033) 0:00:13.830 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.030) 0:00:13.861 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.084) 0:00:13.946 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.061147", "end": "2024-12-07 07:55:49.777180", "rc": 1, "start": "2024-12-07 07:55:49.716033" } STDOUT: Connection 'statebr' (7253e7de-f13b-4865-9f3d-004b982c0758) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.419) 0:00:14.365 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.052) 0:00:14.418 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.032) 0:00:14.451 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.063) 0:00:14.514 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.050) 0:00:14.565 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.067) 0:00:14.632 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003242", "end": "2024-12-07 07:55:50.405488", "rc": 0, "start": "2024-12-07 07:55:50.402246" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.375) 0:00:15.008 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.055) 0:00:15.063 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.055) 0:00:15.119 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.093) 0:00:15.212 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006217", "end": "2024-12-07 07:55:51.016394", "rc": 1, "start": "2024-12-07 07:55:51.010177" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.415) 0:00:15.628 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.112) 0:00:15.740 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.398) 0:00:16.139 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.034) 0:00:16.173 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.053) 0:00:16.227 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.081) 0:00:16.308 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.100) 0:00:16.409 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.089) 0:00:16.499 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.057) 0:00:16.556 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.054) 0:00:16.611 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:55:53 -0500 (0:00:01.856) 0:00:18.467 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.795) 0:00:19.263 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.039) 0:00:19.302 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.036) 0:00:19.338 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.064) 0:00:19.403 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.058) 0:00:19.461 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.056) 0:00:19.517 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.051) 0:00:19.569 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.077) 0:00:19.647 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.133) 0:00:19.780 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.088) 0:00:19.868 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.049) 0:00:19.918 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.092) 0:00:20.010 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.638) 0:00:20.649 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.070) 0:00:20.720 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.037) 0:00:20.757 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.032) 0:00:20.790 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 06196e81-fb59-4e4c-a487-d0d5af08e9b4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.543) 0:00:21.334 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.030) 0:00:21.364 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 06196e81-fb59-4e4c-a487-d0d5af08e9b4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.033) 0:00:21.397 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 06196e81-fb59-4e4c-a487-d0d5af08e9b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 06196e81-fb59-4e4c-a487-d0d5af08e9b4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.032) 0:00:21.429 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.029) 0:00:21.459 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.419) 0:00:21.878 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 06196e81-fb59-4e4c-a487-d0d5af08e9b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 06196e81-fb59-4e4c-a487-d0d5af08e9b4" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.043) 0:00:21.921 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.107) 0:00:22.029 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.082) 0:00:22.112 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.414) 0:00:22.526 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.060) 0:00:22.586 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.099) 0:00:22.685 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.050) 0:00:22.736 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.392) 0:00:23.128 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.028) 0:00:23.157 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018629", "end": "2024-12-07 07:55:58.949318", "rc": 0, "start": "2024-12-07 07:55:58.930689" } 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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.378) 0:00:23.536 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.033) 0:00:23.570 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.031) 0:00:23.601 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.030) 0:00:23.631 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.033) 0:00:23.665 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.093) 0:00:23.758 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.051) 0:00:23.810 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.040) 0:00:23.851 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.037) 0:00:23.889 ***** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.072) 0:00:23.962 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.036) 0:00:23.998 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.055) 0:00:24.054 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.038305", "end": "2024-12-07 07:55:59.867596", "rc": 1, "start": "2024-12-07 07:55:59.829291" } STDOUT: Connection 'statebr' (06196e81-fb59-4e4c-a487-d0d5af08e9b4) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.418) 0:00:24.473 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.063) 0:00:24.537 ***** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.032) 0:00:24.570 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.064) 0:00:24.634 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.049) 0:00:24.684 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.051) 0:00:24.736 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004249", "end": "2024-12-07 07:56:01.543576", "rc": 0, "start": "2024-12-07 07:56:00.539327" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:56:01 -0500 (0:00:01.416) 0:00:26.152 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.055) 0:00:26.208 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.098) 0:00:26.306 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.094) 0:00:26.401 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.117) 0:00:26.519 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.107) 0:00:26.626 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.067) 0:00:26.694 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.049) 0:00:26.744 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.055) 0:00:26.799 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:04 -0500 (0:00:01.873) 0:00:28.673 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:04 -0500 (0:00:00.729) 0:00:29.402 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:04 -0500 (0:00:00.032) 0:00:29.434 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:04 -0500 (0:00:00.028) 0:00:29.463 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:04 -0500 (0:00:00.027) 0:00:29.491 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.090) 0:00:29.581 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.058) 0:00:29.640 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.050) 0:00:29.691 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.070) 0:00:29.761 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.087) 0:00:29.849 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.030) 0:00:29.879 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.028) 0:00:29.907 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.057) 0:00:29.965 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.615) 0:00:30.581 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.068) 0:00:30.649 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.049) 0:00:30.698 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.047) 0:00:30.746 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.635) 0:00:31.382 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.030) 0:00:31.412 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.033) 0:00:31.446 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.033) 0:00:31.479 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.028) 0:00:31.507 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.383) 0:00:31.891 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.080) 0:00:31.971 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.061) 0:00:32.033 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.066) 0:00:32.099 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.077) 0:00:32.176 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.054) 0:00:32.231 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.032) 0:00:32.264 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.034) 0:00:32.299 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:09 -0500 (0:00:01.804) 0:00:34.104 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.800) 0:00:34.904 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.059) 0:00:34.963 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.042) 0:00:35.006 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.033) 0:00:35.039 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.146) 0:00:35.186 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.060) 0:00:35.247 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.050) 0:00:35.297 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.055) 0:00:35.353 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.082) 0:00:35.435 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.030) 0:00:35.466 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.028) 0:00:35.494 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.058) 0:00:35.552 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.572) 0:00:36.124 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.056) 0:00:36.181 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.030) 0:00:36.211 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.038) 0:00:36.250 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.573) 0:00:36.823 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.052) 0:00:36.876 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.057) 0:00:36.933 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a36c3f42-2560-4823-a7f9-e31f82920960 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.062) 0:00:36.995 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.050) 0:00:37.046 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.385) 0:00:37.431 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.089) 0:00:37.521 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.047) 0:00:37.569 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576166.7403824, "block_size": 4096, "blocks": 0, "ctime": 1733576166.7403824, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32153, "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": 1733576166.7403824, "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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.358) 0:00:37.928 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.034) 0:00:37.962 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.054) 0:00:38.016 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.032) 0:00:38.049 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.359) 0:00:38.408 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.038) 0:00:38.447 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018986", "end": "2024-12-07 07:56:14.243089", "rc": 0, "start": "2024-12-07 07:56:14.224103" } 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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.381) 0:00:38.828 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.034) 0:00:38.862 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.030) 0:00:38.892 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.029) 0:00:38.922 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.029) 0:00:38.951 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.030) 0:00:38.982 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.033) 0:00:39.015 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.076) 0:00:39.091 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.040) 0:00:39.132 ***** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.055) 0:00:39.188 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.035) 0:00:39.223 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.055) 0:00:39.279 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.061902", "end": "2024-12-07 07:56:15.116303", "rc": 1, "start": "2024-12-07 07:56:15.054401" } STDOUT: Connection 'statebr' (a36c3f42-2560-4823-a7f9-e31f82920960) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.422) 0:00:39.702 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.063) 0:00:39.765 ***** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.039) 0:00:39.804 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.077) 0:00:39.882 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.049) 0:00:39.931 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.048) 0:00:39.979 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003367", "end": "2024-12-07 07:56:15.756555", "rc": 0, "start": "2024-12-07 07:56:15.753188" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.366) 0:00:40.346 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.075) 0:00:40.421 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.041) 0:00:40.462 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.099) 0:00:40.562 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.067) 0:00:40.630 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.059) 0:00:40.689 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.053) 0:00:40.742 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.034) 0:00:40.777 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.033) 0:00:40.810 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:18 -0500 (0:00:01.860) 0:00:42.671 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.786) 0:00:43.458 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.043) 0:00:43.502 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.051) 0:00:43.553 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.029) 0:00:43.582 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.057) 0:00:43.639 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.058) 0:00:43.698 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.108) 0:00:43.806 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.066) 0:00:43.872 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.095) 0:00:43.968 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.030) 0:00:43.999 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.029) 0:00:44.028 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.059) 0:00:44.088 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.616) 0:00:44.705 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.065) 0:00:44.771 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.044) 0:00:44.815 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.035) 0:00:44.851 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.621) 0:00:45.472 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.030) 0:00:45.502 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.034) 0:00:45.536 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.034) 0:00:45.571 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.051) 0:00:45.623 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.383) 0:00:46.006 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.040) 0:00:46.046 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.114) 0:00:46.161 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.060) 0:00:46.222 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.053) 0:00:46.276 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.034) 0:00:46.310 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.036) 0:00:46.347 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:23 -0500 (0:00:01.779) 0:00:48.127 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.727) 0:00:48.854 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.034) 0:00:48.889 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.028) 0:00:48.918 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.029) 0:00:48.948 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.057) 0:00:49.005 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.058) 0:00:49.064 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.049) 0:00:49.114 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.054) 0:00:49.169 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.192) 0:00:49.361 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.051) 0:00:49.413 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.045) 0:00:49.459 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.089) 0:00:49.548 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.631) 0:00:50.180 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.063) 0:00:50.243 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.029) 0:00:50.273 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.028) 0:00:50.302 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.528) 0:00:50.830 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.043) 0:00:50.873 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.055) 0:00:50.929 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bae315a6-5d17-4722-a930-a83008a5bdc2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.055) 0:00:50.985 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.049) 0:00:51.034 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.373) 0:00:51.407 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.054) 0:00:51.461 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.098) 0:00:51.560 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.086) 0:00:51.647 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.054) 0:00:51.701 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.032) 0:00:51.734 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.034) 0:00:51.769 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:29 -0500 (0:00:01.839) 0:00:53.608 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.758) 0:00:54.367 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.057) 0:00:54.424 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.052) 0:00:54.477 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.051) 0:00:54.529 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.102) 0:00:54.632 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.097) 0:00:54.730 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.082) 0:00:54.813 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.120) 0:00:54.933 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.139) 0:00:55.073 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.107) 0:00:55.180 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.053) 0:00:55.234 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.100) 0:00:55.334 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:31 -0500 (0:00:00.671) 0:00:56.006 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:31 -0500 (0:00:00.092) 0:00:56.098 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:31 -0500 (0:00:00.052) 0:00:56.151 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:31 -0500 (0:00:00.052) 0:00:56.204 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.652) 0:00:56.856 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.051) 0:00:56.908 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.047) 0:00:56.956 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.068) 0:00:57.024 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.051) 0:00:57.075 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.460) 0:00:57.536 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.083) 0:00:57.620 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.091) 0:00:57.712 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576180.8334615, "block_size": 4096, "blocks": 0, "ctime": 1733576180.8334615, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32278, "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": 1733576180.8334615, "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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.429) 0:00:58.141 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.034) 0:00:58.176 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.054) 0:00:58.230 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.033) 0:00:58.263 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.356) 0:00:58.620 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.030) 0:00:58.651 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018709", "end": "2024-12-07 07:56:34.445446", "rc": 1, "start": "2024-12-07 07:56:34.426737" } 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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.380) 0:00:59.031 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.031) 0:00:59.062 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.030) 0:00:59.093 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.029) 0:00:59.123 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.029) 0:00:59.153 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.031) 0:00:59.184 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.036) 0:00:59.221 ***** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.067) 0:00:59.289 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.037) 0:00:59.326 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.096) 0:00:59.422 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.054119", "end": "2024-12-07 07:56:35.253887", "rc": 0, "start": "2024-12-07 07:56:35.199768" } STDOUT: Connection 'statebr' (bae315a6-5d17-4722-a930-a83008a5bdc2) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.446) 0:00:59.868 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.121) 0:00:59.990 ***** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.059) 0:01:00.050 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.073) 0:01:00.123 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.048) 0:01:00.172 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.048) 0:01:00.220 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003180", "end": "2024-12-07 07:56:35.989014", "rc": 0, "start": "2024-12-07 07:56:35.985834" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.354) 0:01:00.575 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.033) 0:01:00.608 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.034) 0:01:00.643 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.060) 0:01:00.703 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.073) 0:01:00.777 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.100) 0:01:00.878 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.070) 0:01:00.948 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.104) 0:01:01.053 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.077) 0:01:01.130 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:38 -0500 (0:00:01.737) 0:01:02.868 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.718) 0:01:03.586 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.034) 0:01:03.620 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.029) 0:01:03.650 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.029) 0:01:03.679 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.078) 0:01:03.758 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.068) 0:01:03.827 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.059) 0:01:03.886 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.057) 0:01:03.943 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.085) 0:01:04.029 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.030) 0:01:04.060 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.032) 0:01:04.093 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.087) 0:01:04.180 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.668) 0:01:04.849 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.184) 0:01:05.033 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.045) 0:01:05.079 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.036) 0:01:05.115 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.575) 0:01:05.691 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.030) 0:01:05.721 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.035) 0:01:05.756 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.033) 0:01:05.790 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.030) 0:01:05.821 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.364) 0:01:06.185 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.035) 0:01:06.221 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.069) 0:01:06.291 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.072) 0:01:06.364 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.053) 0:01:06.417 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.035) 0:01:06.452 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.033) 0:01:06.486 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:43 -0500 (0:00:01.927) 0:01:08.413 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.807) 0:01:09.221 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.055) 0:01:09.277 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.049) 0:01:09.326 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.050) 0:01:09.376 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.097) 0:01:09.473 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.107) 0:01:09.581 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.082) 0:01:09.664 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.063) 0:01:09.728 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.091) 0:01:09.819 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.030) 0:01:09.850 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.030) 0:01:09.881 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.059) 0:01:09.940 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.584) 0:01:10.525 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.063) 0:01:10.589 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.028) 0:01:10.617 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.069) 0:01:10.687 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.569) 0:01:11.257 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.048) 0:01:11.306 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.056) 0:01:11.363 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5627109-cbd5-435c-ac85-b7692bbe114f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.055) 0:01:11.418 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.051) 0:01:11.469 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.399) 0:01:11.869 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.066) 0:01:11.936 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.082) 0:01:12.019 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.083) 0:01:12.102 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.040) 0:01:12.143 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.040) 0:01:12.183 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:49 -0500 (0:00:01.834) 0:01:14.017 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.843) 0:01:14.861 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.035) 0:01:14.896 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.030) 0:01:14.926 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.029) 0:01:14.956 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.058) 0:01:15.014 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.058) 0:01:15.073 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.049) 0:01:15.122 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.056) 0:01:15.179 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.086) 0:01:15.265 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.031) 0:01:15.297 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.029) 0:01:15.327 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.057) 0:01:15.384 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.584) 0:01:15.969 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.071) 0:01:16.040 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.040) 0:01:16.081 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.033) 0:01:16.114 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.658) 0:01:16.773 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.056) 0:01:16.829 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.116) 0:01:16.945 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.058) 0:01:17.004 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.057) 0:01:17.062 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.431) 0:01:17.494 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.067) 0:01:17.561 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.080) 0:01:17.642 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.059) 0:01:17.702 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.056) 0:01:17.759 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.039) 0:01:17.798 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.047) 0:01:17.846 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:55 -0500 (0:00:01.819) 0:01:19.665 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.804) 0:01:20.470 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.034) 0:01:20.505 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.030) 0:01:20.535 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.029) 0:01:20.565 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.061) 0:01:20.626 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.065) 0:01:20.691 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.072) 0:01:20.764 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.099) 0:01:20.863 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.124) 0:01:20.987 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.037) 0:01:21.025 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.033) 0:01:21.059 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.055) 0:01:21.115 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.579) 0:01:21.694 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.057) 0:01:21.752 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.035) 0:01:21.787 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.037) 0:01:21.825 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.725) 0:01:22.550 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.052) 0:01:22.603 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.049) 0:01:22.653 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.074) 0:01:22.727 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.034) 0:01:22.762 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.400) 0:01:23.163 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.120) 0:01:23.283 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.086) 0:01:23.370 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.053) 0:01:23.423 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.401) 0:01:23.824 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.055) 0:01:23.880 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018410", "end": "2024-12-07 07:56:59.677363", "rc": 1, "start": "2024-12-07 07:56:59.658953" } 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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.382) 0:01:24.262 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.032) 0:01:24.295 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.032) 0:01:24.327 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.029) 0:01:24.357 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.031) 0:01:24.388 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.029) 0:01:24.417 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.033) 0:01:24.451 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.113) 0:01:24.564 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.050) 0:01:24.614 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.359) 0:01:24.974 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.041) 0:01:25.015 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.052) 0:01:25.068 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.057) 0:01:25.126 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035290", "end": "2024-12-07 07:57:00.927650", "rc": 1, "start": "2024-12-07 07:57:00.892360" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.410) 0:01:25.537 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.061) 0:01:25.598 ***** ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.038) 0:01:25.636 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.066) 0:01:25.703 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.051) 0:01:25.754 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.050) 0:01:25.804 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003833", "end": "2024-12-07 07:57:01.604849", "rc": 0, "start": "2024-12-07 07:57:01.601016" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.384) 0:01:26.189 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.072) 0:01:26.261 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.034) 0:01:26.296 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.061) 0:01:26.357 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.065) 0:01:26.423 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.060) 0:01:26.484 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:02 -0500 (0:00:00.056) 0:01:26.540 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:02 -0500 (0:00:00.035) 0:01:26.575 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:02 -0500 (0:00:00.034) 0:01:26.610 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:03 -0500 (0:00:01.839) 0:01:28.450 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.820) 0:01:29.270 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.039) 0:01:29.309 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.051) 0:01:29.361 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.101) 0:01:29.462 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.069) 0:01:29.532 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.062) 0:01:29.594 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.050) 0:01:29.645 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.056) 0:01:29.702 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.087) 0:01:29.789 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.030) 0:01:29.820 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.030) 0:01:29.850 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.056) 0:01:29.907 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.570) 0:01:30.477 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.060) 0:01:30.538 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.029) 0:01:30.567 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.030) 0:01:30.597 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.591) 0:01:31.189 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.038) 0:01:31.227 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.040) 0:01:31.267 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.073) 0:01:31.341 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.051) 0:01:31.392 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.429) 0:01:31.822 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.037) 0:01:31.859 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.066) 0:01:31.925 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.060) 0:01:31.986 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.055) 0:01:32.042 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.035) 0:01:32.077 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.036) 0:01:32.113 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:09 -0500 (0:00:01.861) 0:01:33.974 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.735) 0:01:34.710 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.045) 0:01:34.755 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.049) 0:01:34.805 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.048) 0:01:34.853 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.090) 0:01:34.944 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.162) 0:01:35.106 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.075) 0:01:35.181 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.089) 0:01:35.270 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.098) 0:01:35.369 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.035) 0:01:35.404 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.031) 0:01:35.436 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.075) 0:01:35.512 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.592) 0:01:36.104 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.083) 0:01:36.188 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.052) 0:01:36.240 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.049) 0:01:36.290 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.538) 0:01:36.829 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.031) 0:01:36.861 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.033) 0:01:36.894 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, da243249-2c9a-4d7a-8740-4f8fd7b3d90e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.035) 0:01:36.929 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.030) 0:01:36.959 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.376) 0:01:37.336 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.162) 0:01:37.498 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:13 -0500 (0:00:00.113) 0:01:37.612 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:13 -0500 (0:00:00.093) 0:01:37.705 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:13 -0500 (0:00:00.058) 0:01:37.764 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:13 -0500 (0:00:00.056) 0:01:37.820 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:15 -0500 (0:00:01.799) 0:01:39.620 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.809) 0:01:40.429 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.059) 0:01:40.489 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.050) 0:01:40.539 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.053) 0:01:40.593 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.107) 0:01:40.700 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.103) 0:01:40.804 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.058) 0:01:40.862 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.066) 0:01:40.929 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.176) 0:01:41.106 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.031) 0:01:41.137 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.031) 0:01:41.169 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.058) 0:01:41.227 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.576) 0:01:41.804 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.096) 0:01:41.901 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.050) 0:01:41.951 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.052) 0:01:42.004 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.654) 0:01:42.659 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.030) 0:01:42.689 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.035) 0:01:42.725 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.033) 0:01:42.758 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.045) 0:01:42.804 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.370) 0:01:43.174 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.056) 0:01:43.231 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.104) 0:01:43.336 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.079) 0:01:43.415 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.087) 0:01:43.503 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.057) 0:01:43.560 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.044) 0:01:43.605 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:20 -0500 (0:00:01.829) 0:01:45.434 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.725) 0:01:46.159 ***** ok: [managed-node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.034) 0:01:46.194 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.031) 0:01:46.225 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.030) 0:01:46.256 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.067) 0:01:46.323 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.093) 0:01:46.417 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.080) 0:01:46.498 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.095) 0:01:46.594 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.113) 0:01:46.708 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.110) 0:01:46.818 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.038) 0:01:46.856 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.064) 0:01:46.920 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.593) 0:01:47.514 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.058) 0:01:47.573 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.032) 0:01:47.605 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.030) 0:01:47.636 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.554) 0:01:48.191 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.036) 0:01:48.227 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.040) 0:01:48.268 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.041) 0:01:48.309 ***** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.029) 0:01:48.339 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.378) 0:01:48.717 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.066) 0:01:48.784 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.053) 0:01:48.837 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.073) 0:01:48.911 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.371) 0:01:49.283 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.032) 0:01:49.316 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017777", "end": "2024-12-07 07:57:25.104654", "rc": 1, "start": "2024-12-07 07:57:25.086877" } 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-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.374) 0:01:49.690 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.035) 0:01:49.726 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.031) 0:01:49.757 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.031) 0:01:49.788 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.031) 0:01:49.819 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.031) 0:01:49.851 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.047) 0:01:49.898 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.176194", "end": "2024-12-07 07:57:25.842941", "rc": 0, "start": "2024-12-07 07:57:25.666747" } STDOUT: NetworkManager-1.51.4-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.550) 0:01:50.448 ***** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.4-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.056) 0:01:50.505 ***** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.51.4-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.056) 0:01:50.561 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.131) 0:01:50.693 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.069) 0:01:50.762 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.368) 0:01:51.131 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.036) 0:01:51.168 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.076) 0:01:51.244 ***** included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.065) 0:01:51.309 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035687", "end": "2024-12-07 07:57:27.112849", "rc": 1, "start": "2024-12-07 07:57:27.077162" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.386) 0:01:51.696 ***** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008983", "end": "2024-12-07 07:57:27.474315", "rc": 0, "start": "2024-12-07 07:57:27.465332" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:d4:0b:4c:d5 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.12.86/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2426sec preferred_lft 2426sec inet6 fe80::8ff:d4ff:fe0b:4cd5/64 scope link noprefixroute valid_lft forever preferred_lft forever 33: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 76:eb:00:93:69:7a brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.86 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.86 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.364) 0:01:52.061 ***** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.365874", "end": "2024-12-07 07:57:28.210460", "rc": 0, "start": "2024-12-07 07:57:27.844586" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 2476 0 --:--:-- --:--:-- --:--:-- 2479 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1329 0 --:--:-- --:--:-- --:--:-- 1334 PLAY RECAP ********************************************************************* managed-node3 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Saturday 07 December 2024 07:57:28 -0500 (0:00:00.722) 0:01:52.783 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.88s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-1Oe/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-1Oe/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-1Oe/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-1Oe/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-1Oe/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-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-1Oe/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-1Oe/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-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.45s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Gather current interface info ------------------------------------------- 1.42s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/collections-1Oe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26