[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] 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-7df executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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-7df/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-7df/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 31 August 2024 08:42:50 -0400 (0:00:00.020) 0:00:00.020 ******* [WARNING]: Platform linux on host managed_node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 31 August 2024 08:42:51 -0400 (0:00:01.257) 0:00:01.278 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 31 August 2024 08:42:51 -0400 (0:00:00.045) 0:00:01.323 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.558) 0:00:01.881 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.502) 0:00:02.384 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.063) 0:00:02.448 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.029) 0:00:02.477 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.099) 0:00:02.577 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.050) 0:00:02.628 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.043) 0:00:02.672 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.033) 0:00:02.705 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.022) 0:00:02.728 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.018) 0:00:02.746 ******* ok: [managed_node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 31 August 2024 08:42:52 -0400 (0:00:00.045) 0:00:02.792 ******* ok: [managed_node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 31 August 2024 08:42:53 -0400 (0:00:00.898) 0:00:03.690 ******* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 31 August 2024 08:42:53 -0400 (0:00:00.026) 0:00:03.716 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:42:53 -0400 (0:00:00.029) 0:00:03.745 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:42:53 -0400 (0:00:00.016) 0:00:03.762 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:42:53 -0400 (0:00:00.046) 0:00:03.809 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:42:53 -0400 (0:00:00.023) 0:00:03.833 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:42:54 -0400 (0:00:00.030) 0:00:03.863 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003407", "end": "2024-08-31 08:42:54.536519", "rc": 0, "start": "2024-08-31 08:42:54.533112" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:42:54 -0400 (0:00:00.565) 0:00:04.429 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:42:54 -0400 (0:00:00.019) 0:00:04.449 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:42:54 -0400 (0:00:00.020) 0:00:04.470 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:42:54 -0400 (0:00:00.031) 0:00:04.501 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007836", "end": "2024-08-31 08:42:54.964172", "rc": 1, "start": "2024-08-31 08:42:54.956336" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.352) 0:00:04.854 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.018) 0:00:04.872 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.348) 0:00:05.221 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.021) 0:00:05.242 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.025) 0:00:05.268 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.041) 0:00:05.309 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.031) 0:00:05.341 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.036) 0:00:05.377 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.019) 0:00:05.396 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:42:55 -0400 (0:00:00.019) 0:00:05.415 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:42:57 -0400 (0:00:02.105) 0:00:07.521 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:42:58 -0400 (0:00:01.038) 0:00:08.560 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:42:58 -0400 (0:00:00.038) 0:00:08.598 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:42:58 -0400 (0:00:00.035) 0:00:08.634 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:42:58 -0400 (0:00:00.039) 0:00:08.673 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:42:58 -0400 (0:00:00.058) 0:00:08.732 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:42:58 -0400 (0:00:00.059) 0:00:08.791 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:42:59 -0400 (0:00:00.051) 0:00:08.843 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:42:59 -0400 (0:00:00.109) 0:00:08.952 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:42:59 -0400 (0:00:00.219) 0:00:09.172 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:42:59 -0400 (0:00:00.041) 0:00:09.213 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:42:59 -0400 (0:00:00.058) 0:00:09.271 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:42:59 -0400 (0:00:00.093) 0:00:09.365 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:43:00 -0400 (0:00:01.080) 0:00:10.445 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:43:00 -0400 (0:00:00.069) 0:00:10.515 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:43:00 -0400 (0:00:00.034) 0:00:10.549 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:43:00 -0400 (0:00:00.038) 0:00:10.588 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39affdea-02e7-47a2-82f4-71d055ccb1bb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:43:01 -0400 (0:00:00.826) 0:00:11.414 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:43:01 -0400 (0:00:00.034) 0:00:11.449 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39affdea-02e7-47a2-82f4-71d055ccb1bb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:43:01 -0400 (0:00:00.055) 0:00:11.504 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39affdea-02e7-47a2-82f4-71d055ccb1bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39affdea-02e7-47a2-82f4-71d055ccb1bb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:43:01 -0400 (0:00:00.054) 0:00:11.559 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:43:01 -0400 (0:00:00.049) 0:00:11.608 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:43:02 -0400 (0:00:00.538) 0:00:12.147 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39affdea-02e7-47a2-82f4-71d055ccb1bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39affdea-02e7-47a2-82f4-71d055ccb1bb" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:43:02 -0400 (0:00:00.034) 0:00:12.181 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:43:02 -0400 (0:00:00.054) 0:00:12.236 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:43:02 -0400 (0:00:00.102) 0:00:12.338 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:43:02 -0400 (0:00:00.051) 0:00:12.390 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:43:02 -0400 (0:00:00.421) 0:00:12.811 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.042) 0:00:12.854 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018025", "end": "2024-08-31 08:43:03.335917", "rc": 0, "start": "2024-08-31 08:43:03.317892" } 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.385) 0:00:13.240 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.034) 0:00:13.274 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.030) 0:00:13.305 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.029) 0:00:13.335 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.035) 0:00:13.370 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.046) 0:00:13.417 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.060) 0:00:13.477 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.059) 0:00:13.536 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.056) 0:00:13.592 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.130) 0:00:13.723 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:43:03 -0400 (0:00:00.064) 0:00:13.788 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725108181.4526706, "block_size": 4096, "blocks": 0, "ctime": 1725108181.4526706, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31070, "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": 1725108181.4526706, "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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:43:04 -0400 (0:00:00.394) 0:00:14.183 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:43:04 -0400 (0:00:00.078) 0:00:14.261 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:43:04 -0400 (0:00:00.039) 0:00:14.301 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:43:04 -0400 (0:00:00.056) 0:00:14.358 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.060679", "end": "2024-08-31 08:43:04.876093", "rc": 1, "start": "2024-08-31 08:43:04.815414" } STDOUT: Connection 'statebr' (39affdea-02e7-47a2-82f4-71d055ccb1bb) 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 31 August 2024 08:43:04 -0400 (0:00:00.458) 0:00:14.816 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:43:05 -0400 (0:00:00.116) 0:00:14.933 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:43:05 -0400 (0:00:00.055) 0:00:14.988 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:43:05 -0400 (0:00:00.095) 0:00:15.084 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:43:05 -0400 (0:00:00.063) 0:00:15.147 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:43:05 -0400 (0:00:00.072) 0:00:15.220 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003453", "end": "2024-08-31 08:43:05.687576", "rc": 0, "start": "2024-08-31 08:43:05.684123" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:43:05 -0400 (0:00:00.429) 0:00:15.650 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:43:05 -0400 (0:00:00.075) 0:00:15.725 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:43:05 -0400 (0:00:00.066) 0:00:15.791 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:43:06 -0400 (0:00:00.106) 0:00:15.898 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006293", "end": "2024-08-31 08:43:06.401063", "rc": 1, "start": "2024-08-31 08:43:06.394770" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:43:06 -0400 (0:00:00.433) 0:00:16.331 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:43:06 -0400 (0:00:00.127) 0:00:16.459 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:43:07 -0400 (0:00:00.403) 0:00:16.863 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:43:07 -0400 (0:00:00.034) 0:00:16.897 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 31 August 2024 08:43:07 -0400 (0:00:00.052) 0:00:16.950 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:43:07 -0400 (0:00:00.068) 0:00:17.018 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:43:07 -0400 (0:00:00.077) 0:00:17.096 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:43:07 -0400 (0:00:00.085) 0:00:17.181 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:43:07 -0400 (0:00:00.056) 0:00:17.238 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:43:07 -0400 (0:00:00.056) 0:00:17.294 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:43:09 -0400 (0:00:01.963) 0:00:19.257 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:43:10 -0400 (0:00:00.788) 0:00:20.046 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:43:10 -0400 (0:00:00.135) 0:00:20.182 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:43:10 -0400 (0:00:00.102) 0:00:20.285 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:43:10 -0400 (0:00:00.090) 0:00:20.375 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:43:10 -0400 (0:00:00.155) 0:00:20.530 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:43:10 -0400 (0:00:00.100) 0:00:20.631 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:43:10 -0400 (0:00:00.082) 0:00:20.714 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:43:10 -0400 (0:00:00.086) 0:00:20.800 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:43:11 -0400 (0:00:00.153) 0:00:20.953 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:43:11 -0400 (0:00:00.050) 0:00:21.004 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:43:11 -0400 (0:00:00.048) 0:00:21.053 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:43:11 -0400 (0:00:00.094) 0:00:21.148 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:43:11 -0400 (0:00:00.691) 0:00:21.839 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:43:12 -0400 (0:00:00.173) 0:00:22.012 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:43:12 -0400 (0:00:00.075) 0:00:22.088 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:43:12 -0400 (0:00:00.042) 0:00:22.130 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d12ae774-67b4-47cf-b6cb-63e5c6daa889 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:43:12 -0400 (0:00:00.632) 0:00:22.763 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:43:12 -0400 (0:00:00.028) 0:00:22.792 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d12ae774-67b4-47cf-b6cb-63e5c6daa889" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:43:12 -0400 (0:00:00.037) 0:00:22.829 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d12ae774-67b4-47cf-b6cb-63e5c6daa889\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d12ae774-67b4-47cf-b6cb-63e5c6daa889" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:43:13 -0400 (0:00:00.052) 0:00:22.882 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:43:13 -0400 (0:00:00.096) 0:00:22.978 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 31 August 2024 08:43:13 -0400 (0:00:00.411) 0:00:23.389 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d12ae774-67b4-47cf-b6cb-63e5c6daa889\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d12ae774-67b4-47cf-b6cb-63e5c6daa889" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:43:13 -0400 (0:00:00.050) 0:00:23.440 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:43:13 -0400 (0:00:00.100) 0:00:23.540 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:43:13 -0400 (0:00:00.086) 0:00:23.627 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:43:14 -0400 (0:00:00.452) 0:00:24.079 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:43:14 -0400 (0:00:00.080) 0:00:24.160 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:43:14 -0400 (0:00:00.063) 0:00:24.223 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:43:14 -0400 (0:00:00.054) 0:00:24.277 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:43:14 -0400 (0:00:00.449) 0:00:24.727 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:43:14 -0400 (0:00:00.047) 0:00:24.774 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017861", "end": "2024-08-31 08:43:15.273530", "rc": 0, "start": "2024-08-31 08:43:15.255669" } 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.404) 0:00:25.179 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.033) 0:00:25.213 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.030) 0:00:25.243 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.065) 0:00:25.309 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.030) 0:00:25.340 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.035) 0:00:25.376 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.033) 0:00:25.410 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.040) 0:00:25.450 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.052) 0:00:25.503 ******* skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.089) 0:00:25.592 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.067) 0:00:25.660 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:43:15 -0400 (0:00:00.121) 0:00:25.782 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035249", "end": "2024-08-31 08:43:16.297096", "rc": 1, "start": "2024-08-31 08:43:16.261847" } STDOUT: Connection 'statebr' (d12ae774-67b4-47cf-b6cb-63e5c6daa889) 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 31 August 2024 08:43:16 -0400 (0:00:00.439) 0:00:26.221 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:43:16 -0400 (0:00:00.153) 0:00:26.374 ******* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:43:16 -0400 (0:00:00.108) 0:00:26.483 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:43:16 -0400 (0:00:00.112) 0:00:26.595 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:43:16 -0400 (0:00:00.052) 0:00:26.647 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:43:16 -0400 (0:00:00.062) 0:00:26.710 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003318", "end": "2024-08-31 08:43:17.178278", "rc": 0, "start": "2024-08-31 08:43:17.174960" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:43:17 -0400 (0:00:00.439) 0:00:27.149 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:43:17 -0400 (0:00:00.058) 0:00:27.208 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:43:17 -0400 (0:00:00.054) 0:00:27.262 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:43:17 -0400 (0:00:00.090) 0:00:27.353 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:43:17 -0400 (0:00:00.128) 0:00:27.481 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:43:17 -0400 (0:00:00.121) 0:00:27.603 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:43:17 -0400 (0:00:00.118) 0:00:27.722 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:43:17 -0400 (0:00:00.060) 0:00:27.782 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:43:18 -0400 (0:00:00.060) 0:00:27.843 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:43:19 -0400 (0:00:01.866) 0:00:29.709 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:43:20 -0400 (0:00:00.763) 0:00:30.473 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:43:20 -0400 (0:00:00.055) 0:00:30.528 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:43:20 -0400 (0:00:00.101) 0:00:30.630 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:43:20 -0400 (0:00:00.070) 0:00:30.700 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:43:20 -0400 (0:00:00.126) 0:00:30.827 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:43:21 -0400 (0:00:00.106) 0:00:30.934 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:43:21 -0400 (0:00:00.080) 0:00:31.014 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:43:21 -0400 (0:00:00.098) 0:00:31.113 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:43:21 -0400 (0:00:00.138) 0:00:31.252 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:43:21 -0400 (0:00:00.056) 0:00:31.309 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:43:21 -0400 (0:00:00.053) 0:00:31.362 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:43:21 -0400 (0:00:00.123) 0:00:31.485 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:43:22 -0400 (0:00:00.672) 0:00:32.157 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:43:22 -0400 (0:00:00.098) 0:00:32.256 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:43:22 -0400 (0:00:00.052) 0:00:32.309 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:43:22 -0400 (0:00:00.053) 0:00:32.363 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:43:23 -0400 (0:00:00.690) 0:00:33.053 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:43:23 -0400 (0:00:00.086) 0:00:33.140 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:43:23 -0400 (0:00:00.108) 0:00:33.248 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:43:23 -0400 (0:00:00.053) 0:00:33.302 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:43:23 -0400 (0:00:00.076) 0:00:33.379 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:43:23 -0400 (0:00:00.408) 0:00:33.787 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:43:24 -0400 (0:00:00.063) 0:00:33.850 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:43:24 -0400 (0:00:00.101) 0:00:33.952 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:43:24 -0400 (0:00:00.144) 0:00:34.097 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:43:24 -0400 (0:00:00.109) 0:00:34.207 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:43:24 -0400 (0:00:00.088) 0:00:34.295 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:43:24 -0400 (0:00:00.055) 0:00:34.351 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:43:24 -0400 (0:00:00.056) 0:00:34.407 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:43:26 -0400 (0:00:02.024) 0:00:36.431 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:43:27 -0400 (0:00:00.774) 0:00:37.206 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:43:27 -0400 (0:00:00.071) 0:00:37.278 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:43:27 -0400 (0:00:00.147) 0:00:37.425 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:43:27 -0400 (0:00:00.097) 0:00:37.523 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:43:27 -0400 (0:00:00.097) 0:00:37.620 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:43:27 -0400 (0:00:00.086) 0:00:37.707 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:43:27 -0400 (0:00:00.048) 0:00:37.755 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:43:27 -0400 (0:00:00.059) 0:00:37.815 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:43:28 -0400 (0:00:00.095) 0:00:37.910 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:43:28 -0400 (0:00:00.033) 0:00:37.943 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:43:28 -0400 (0:00:00.035) 0:00:37.979 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:43:28 -0400 (0:00:00.084) 0:00:38.064 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:43:28 -0400 (0:00:00.614) 0:00:38.679 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:43:28 -0400 (0:00:00.073) 0:00:38.752 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:43:28 -0400 (0:00:00.029) 0:00:38.781 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:43:28 -0400 (0:00:00.030) 0:00:38.812 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:43:29 -0400 (0:00:00.580) 0:00:39.392 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:43:29 -0400 (0:00:00.031) 0:00:39.423 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:43:29 -0400 (0:00:00.039) 0:00:39.463 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fa4e8331-4a37-48a4-8732-cff2c6f834ea skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:43:29 -0400 (0:00:00.057) 0:00:39.521 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:43:29 -0400 (0:00:00.110) 0:00:39.631 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:43:30 -0400 (0:00:00.407) 0:00:40.038 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:43:30 -0400 (0:00:00.064) 0:00:40.102 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:43:30 -0400 (0:00:00.070) 0:00:40.173 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725108203.0602489, "block_size": 4096, "blocks": 0, "ctime": 1725108203.0602489, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31195, "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": 1725108203.0602489, "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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:43:30 -0400 (0:00:00.375) 0:00:40.548 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:43:30 -0400 (0:00:00.038) 0:00:40.586 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:43:30 -0400 (0:00:00.079) 0:00:40.666 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:43:30 -0400 (0:00:00.040) 0:00:40.706 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:43:31 -0400 (0:00:00.398) 0:00:41.105 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:43:31 -0400 (0:00:00.039) 0:00:41.144 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018073", "end": "2024-08-31 08:43:31.639226", "rc": 0, "start": "2024-08-31 08:43:31.621153" } 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:43:31 -0400 (0:00:00.408) 0:00:41.552 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:43:31 -0400 (0:00:00.040) 0:00:41.592 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:43:31 -0400 (0:00:00.046) 0:00:41.639 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:43:31 -0400 (0:00:00.053) 0:00:41.692 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:43:31 -0400 (0:00:00.049) 0:00:41.742 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:43:32 -0400 (0:00:00.144) 0:00:41.886 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:43:32 -0400 (0:00:00.092) 0:00:41.979 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:43:32 -0400 (0:00:00.110) 0:00:42.089 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:43:32 -0400 (0:00:00.073) 0:00:42.163 ******* skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:43:32 -0400 (0:00:00.088) 0:00:42.251 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:43:32 -0400 (0:00:00.057) 0:00:42.309 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:43:32 -0400 (0:00:00.055) 0:00:42.365 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.060660", "end": "2024-08-31 08:43:32.899624", "rc": 1, "start": "2024-08-31 08:43:32.838964" } STDOUT: Connection 'statebr' (fa4e8331-4a37-48a4-8732-cff2c6f834ea) 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 31 August 2024 08:43:32 -0400 (0:00:00.460) 0:00:42.825 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.076) 0:00:42.901 ******* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.053) 0:00:42.955 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.078) 0:00:43.033 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.057) 0:00:43.091 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.047) 0:00:43.138 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003384", "end": "2024-08-31 08:43:33.609582", "rc": 0, "start": "2024-08-31 08:43:33.606198" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.399) 0:00:43.538 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.081) 0:00:43.620 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.041) 0:00:43.661 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.056) 0:00:43.718 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:43:33 -0400 (0:00:00.065) 0:00:43.783 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:43:34 -0400 (0:00:00.067) 0:00:43.851 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:43:34 -0400 (0:00:00.061) 0:00:43.912 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:43:34 -0400 (0:00:00.036) 0:00:43.949 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:43:34 -0400 (0:00:00.035) 0:00:43.985 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:43:36 -0400 (0:00:01.918) 0:00:45.903 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.960) 0:00:46.863 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.091) 0:00:46.954 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.050) 0:00:47.005 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.039) 0:00:47.044 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.138) 0:00:47.182 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.079) 0:00:47.262 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.084) 0:00:47.346 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.173) 0:00:47.520 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.187) 0:00:47.707 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.067) 0:00:47.775 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:43:37 -0400 (0:00:00.055) 0:00:47.830 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:43:38 -0400 (0:00:00.072) 0:00:47.903 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:43:38 -0400 (0:00:00.640) 0:00:48.544 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:43:38 -0400 (0:00:00.135) 0:00:48.679 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:43:38 -0400 (0:00:00.086) 0:00:48.766 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:43:39 -0400 (0:00:00.091) 0:00:48.857 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:43:39 -0400 (0:00:00.723) 0:00:49.580 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:43:39 -0400 (0:00:00.051) 0:00:49.632 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:43:39 -0400 (0:00:00.056) 0:00:49.688 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:43:39 -0400 (0:00:00.066) 0:00:49.755 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:43:39 -0400 (0:00:00.060) 0:00:49.816 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:43:40 -0400 (0:00:00.558) 0:00:50.375 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:43:40 -0400 (0:00:00.108) 0:00:50.483 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:43:40 -0400 (0:00:00.167) 0:00:50.651 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:43:40 -0400 (0:00:00.076) 0:00:50.728 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:43:40 -0400 (0:00:00.057) 0:00:50.785 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:43:40 -0400 (0:00:00.036) 0:00:50.821 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:43:41 -0400 (0:00:00.037) 0:00:50.859 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:43:42 -0400 (0:00:01.900) 0:00:52.759 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:43:43 -0400 (0:00:00.775) 0:00:53.535 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:43:43 -0400 (0:00:00.037) 0:00:53.572 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:43:43 -0400 (0:00:00.031) 0:00:53.603 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:43:43 -0400 (0:00:00.030) 0:00:53.634 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:43:43 -0400 (0:00:00.061) 0:00:53.696 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:43:43 -0400 (0:00:00.077) 0:00:53.773 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:43:44 -0400 (0:00:00.131) 0:00:53.905 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:43:44 -0400 (0:00:00.058) 0:00:53.963 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:43:44 -0400 (0:00:00.098) 0:00:54.062 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:43:44 -0400 (0:00:00.046) 0:00:54.108 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:43:44 -0400 (0:00:00.054) 0:00:54.163 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:43:44 -0400 (0:00:00.096) 0:00:54.259 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.612) 0:00:54.872 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.056) 0:00:54.928 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.030) 0:00:54.959 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.030) 0:00:54.990 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.607) 0:00:55.598 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.051) 0:00:55.649 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.053) 0:00:55.703 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.058) 0:00:55.762 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:43:45 -0400 (0:00:00.073) 0:00:55.835 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:43:46 -0400 (0:00:00.490) 0:00:56.325 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:43:46 -0400 (0:00:00.197) 0:00:56.523 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:43:46 -0400 (0:00:00.113) 0:00:56.636 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:43:46 -0400 (0:00:00.115) 0:00:56.752 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:43:47 -0400 (0:00:00.091) 0:00:56.843 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:43:47 -0400 (0:00:00.093) 0:00:56.936 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:43:47 -0400 (0:00:00.052) 0:00:56.989 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:43:49 -0400 (0:00:01.901) 0:00:58.891 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:43:49 -0400 (0:00:00.860) 0:00:59.751 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:43:49 -0400 (0:00:00.075) 0:00:59.826 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.059) 0:00:59.886 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.047) 0:00:59.933 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.070) 0:01:00.004 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.082) 0:01:00.086 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.085) 0:01:00.172 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.056) 0:01:00.228 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.084) 0:01:00.312 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.029) 0:01:00.342 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.029) 0:01:00.372 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:43:50 -0400 (0:00:00.055) 0:01:00.428 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:43:51 -0400 (0:00:00.617) 0:01:01.046 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:43:51 -0400 (0:00:00.117) 0:01:01.164 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:43:51 -0400 (0:00:00.051) 0:01:01.215 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:43:51 -0400 (0:00:00.053) 0:01:01.268 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:43:52 -0400 (0:00:00.626) 0:01:01.895 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:43:52 -0400 (0:00:00.030) 0:01:01.926 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:43:52 -0400 (0:00:00.035) 0:01:01.961 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:43:52 -0400 (0:00:00.034) 0:01:01.995 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:43:52 -0400 (0:00:00.031) 0:01:02.026 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:43:52 -0400 (0:00:00.496) 0:01:02.523 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:43:52 -0400 (0:00:00.125) 0:01:02.649 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:43:52 -0400 (0:00:00.107) 0:01:02.757 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725108219.5791483, "block_size": 4096, "blocks": 0, "ctime": 1725108219.5791483, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31320, "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": 1725108219.5791483, "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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:43:53 -0400 (0:00:00.365) 0:01:03.122 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:43:53 -0400 (0:00:00.035) 0:01:03.158 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:43:53 -0400 (0:00:00.053) 0:01:03.212 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:43:53 -0400 (0:00:00.046) 0:01:03.258 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:43:53 -0400 (0:00:00.440) 0:01:03.698 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:43:53 -0400 (0:00:00.078) 0:01:03.777 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018051", "end": "2024-08-31 08:43:54.326098", "rc": 1, "start": "2024-08-31 08:43:54.308047" } 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.475) 0:01:04.252 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.057) 0:01:04.309 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.038) 0:01:04.348 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.035) 0:01:04.384 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.037) 0:01:04.421 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.042) 0:01:04.464 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.039) 0:01:04.504 ******* skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.046) 0:01:04.550 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.034) 0:01:04.584 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:43:54 -0400 (0:00:00.093) 0:01:04.678 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.168747", "end": "2024-08-31 08:43:55.308044", "rc": 1, "start": "2024-08-31 08:43:55.139297" } STDOUT: Connection 'statebr' (5d2d1f04-f8b2-4ed3-b871-5e5db4bd76f5) 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 31 August 2024 08:43:55 -0400 (0:00:00.553) 0:01:05.232 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:43:55 -0400 (0:00:00.104) 0:01:05.336 ******* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:43:55 -0400 (0:00:00.039) 0:01:05.376 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:43:55 -0400 (0:00:00.079) 0:01:05.455 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:43:55 -0400 (0:00:00.050) 0:01:05.505 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:43:55 -0400 (0:00:00.047) 0:01:05.553 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003370", "end": "2024-08-31 08:43:56.014981", "rc": 0, "start": "2024-08-31 08:43:56.011611" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.391) 0:01:05.945 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.045) 0:01:05.991 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.041) 0:01:06.033 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.062) 0:01:06.096 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.068) 0:01:06.164 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.132) 0:01:06.296 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.095) 0:01:06.392 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.073) 0:01:06.466 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:43:56 -0400 (0:00:00.063) 0:01:06.529 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:43:58 -0400 (0:00:02.043) 0:01:08.573 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:43:59 -0400 (0:00:00.839) 0:01:09.412 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:43:59 -0400 (0:00:00.033) 0:01:09.446 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:43:59 -0400 (0:00:00.040) 0:01:09.487 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:43:59 -0400 (0:00:00.035) 0:01:09.522 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:43:59 -0400 (0:00:00.090) 0:01:09.613 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:43:59 -0400 (0:00:00.097) 0:01:09.710 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:43:59 -0400 (0:00:00.079) 0:01:09.790 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:44:00 -0400 (0:00:00.093) 0:01:09.884 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:44:00 -0400 (0:00:00.110) 0:01:09.994 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:44:00 -0400 (0:00:00.050) 0:01:10.044 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:44:00 -0400 (0:00:00.105) 0:01:10.150 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:44:00 -0400 (0:00:00.088) 0:01:10.238 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:44:01 -0400 (0:00:00.676) 0:01:10.914 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:44:01 -0400 (0:00:00.122) 0:01:11.037 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:44:01 -0400 (0:00:00.062) 0:01:11.100 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:44:01 -0400 (0:00:00.040) 0:01:11.141 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:44:01 -0400 (0:00:00.614) 0:01:11.755 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:44:01 -0400 (0:00:00.032) 0:01:11.788 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:44:01 -0400 (0:00:00.035) 0:01:11.823 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:44:02 -0400 (0:00:00.036) 0:01:11.860 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:44:02 -0400 (0:00:00.031) 0:01:11.892 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:44:02 -0400 (0:00:00.420) 0:01:12.313 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:44:02 -0400 (0:00:00.061) 0:01:12.374 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:44:02 -0400 (0:00:00.105) 0:01:12.479 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:44:02 -0400 (0:00:00.124) 0:01:12.604 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:44:02 -0400 (0:00:00.157) 0:01:12.761 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:44:02 -0400 (0:00:00.071) 0:01:12.833 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:44:03 -0400 (0:00:00.063) 0:01:12.896 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:44:05 -0400 (0:00:01.964) 0:01:14.860 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:44:05 -0400 (0:00:00.789) 0:01:15.650 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:44:05 -0400 (0:00:00.041) 0:01:15.691 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:44:05 -0400 (0:00:00.041) 0:01:15.733 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:44:05 -0400 (0:00:00.035) 0:01:15.769 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:44:05 -0400 (0:00:00.061) 0:01:15.831 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:44:06 -0400 (0:00:00.062) 0:01:15.893 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:44:06 -0400 (0:00:00.049) 0:01:15.943 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:44:06 -0400 (0:00:00.058) 0:01:16.001 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:44:06 -0400 (0:00:00.083) 0:01:16.085 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:44:06 -0400 (0:00:00.032) 0:01:16.117 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:44:06 -0400 (0:00:00.029) 0:01:16.147 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:44:06 -0400 (0:00:00.060) 0:01:16.208 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:44:07 -0400 (0:00:00.679) 0:01:16.887 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:44:07 -0400 (0:00:00.064) 0:01:16.952 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:44:07 -0400 (0:00:00.052) 0:01:17.004 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:44:07 -0400 (0:00:00.035) 0:01:17.040 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:44:07 -0400 (0:00:00.657) 0:01:17.697 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:44:07 -0400 (0:00:00.086) 0:01:17.784 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:44:08 -0400 (0:00:00.090) 0:01:17.875 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e244b498-9978-4409-bcab-aa91ebbcfd77 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:44:08 -0400 (0:00:00.069) 0:01:17.945 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:44:08 -0400 (0:00:00.049) 0:01:17.994 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:44:08 -0400 (0:00:00.449) 0:01:18.444 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:44:08 -0400 (0:00:00.116) 0:01:18.560 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:44:08 -0400 (0:00:00.107) 0:01:18.667 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:44:08 -0400 (0:00:00.105) 0:01:18.773 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:44:09 -0400 (0:00:00.071) 0:01:18.844 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:44:09 -0400 (0:00:00.106) 0:01:18.951 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:44:11 -0400 (0:00:02.108) 0:01:21.060 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:44:11 -0400 (0:00:00.733) 0:01:21.793 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:44:11 -0400 (0:00:00.036) 0:01:21.830 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.032) 0:01:21.862 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.033) 0:01:21.895 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.060) 0:01:21.956 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.087) 0:01:22.044 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.061) 0:01:22.105 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.091) 0:01:22.197 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.117) 0:01:22.314 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.034) 0:01:22.349 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.032) 0:01:22.382 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:44:12 -0400 (0:00:00.058) 0:01:22.440 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:44:13 -0400 (0:00:00.619) 0:01:23.060 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:44:13 -0400 (0:00:00.084) 0:01:23.145 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:44:13 -0400 (0:00:00.055) 0:01:23.201 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:44:13 -0400 (0:00:00.119) 0:01:23.320 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.603) 0:01:23.924 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.031) 0:01:23.956 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.035) 0:01:23.991 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.041) 0:01:24.033 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.031) 0:01:24.064 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.424) 0:01:24.488 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.082) 0:01:24.571 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.077) 0:01:24.648 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.069) 0:01:24.717 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:44:14 -0400 (0:00:00.085) 0:01:24.803 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:44:15 -0400 (0:00:00.040) 0:01:24.844 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:44:15 -0400 (0:00:00.040) 0:01:24.884 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:44:17 -0400 (0:00:01.977) 0:01:26.862 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:44:17 -0400 (0:00:00.753) 0:01:27.616 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:44:17 -0400 (0:00:00.056) 0:01:27.672 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:44:17 -0400 (0:00:00.052) 0:01:27.725 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:44:17 -0400 (0:00:00.050) 0:01:27.775 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:44:18 -0400 (0:00:00.099) 0:01:27.875 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:44:18 -0400 (0:00:00.091) 0:01:27.967 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:44:18 -0400 (0:00:00.063) 0:01:28.030 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:44:18 -0400 (0:00:00.100) 0:01:28.131 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:44:18 -0400 (0:00:00.107) 0:01:28.238 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:44:18 -0400 (0:00:00.032) 0:01:28.271 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:44:18 -0400 (0:00:00.032) 0:01:28.304 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:44:18 -0400 (0:00:00.058) 0:01:28.362 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:44:19 -0400 (0:00:00.604) 0:01:28.967 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:44:19 -0400 (0:00:00.087) 0:01:29.055 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:44:19 -0400 (0:00:00.068) 0:01:29.124 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:44:19 -0400 (0:00:00.054) 0:01:29.178 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.734) 0:01:29.913 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.032) 0:01:29.946 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.038) 0:01:29.984 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.041) 0:01:30.025 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.031) 0:01:30.056 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.376) 0:01:30.433 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.056) 0:01:30.490 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.054) 0:01:30.545 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:44:20 -0400 (0:00:00.034) 0:01:30.579 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.362) 0:01:30.941 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.030) 0:01:30.971 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017526", "end": "2024-08-31 08:44:21.449203", "rc": 1, "start": "2024-08-31 08:44:21.431677" } 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.381) 0:01:31.353 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.031) 0:01:31.385 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.031) 0:01:31.416 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.031) 0:01:31.447 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.073) 0:01:31.521 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.031) 0:01:31.553 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.035) 0:01:31.588 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.075) 0:01:31.663 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:44:21 -0400 (0:00:00.048) 0:01:31.712 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:44:22 -0400 (0:00:00.365) 0:01:32.077 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:44:22 -0400 (0:00:00.034) 0:01:32.112 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:44:22 -0400 (0:00:00.033) 0:01:32.145 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:44:22 -0400 (0:00:00.063) 0:01:32.208 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034507", "end": "2024-08-31 08:44:22.702038", "rc": 1, "start": "2024-08-31 08:44:22.667531" } 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 31 August 2024 08:44:22 -0400 (0:00:00.398) 0:01:32.607 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:44:22 -0400 (0:00:00.052) 0:01:32.660 ******* ok: [managed_node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:44:22 -0400 (0:00:00.034) 0:01:32.695 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:44:22 -0400 (0:00:00.064) 0:01:32.759 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.091) 0:01:32.851 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.048) 0:01:32.899 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003349", "end": "2024-08-31 08:44:23.352653", "rc": 0, "start": "2024-08-31 08:44:23.349304" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.357) 0:01:33.256 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.034) 0:01:33.291 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.034) 0:01:33.325 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.059) 0:01:33.385 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.065) 0:01:33.450 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.060) 0:01:33.511 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.055) 0:01:33.566 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.037) 0:01:33.604 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:44:23 -0400 (0:00:00.036) 0:01:33.640 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:44:25 -0400 (0:00:01.861) 0:01:35.502 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.808) 0:01:36.310 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.036) 0:01:36.346 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.030) 0:01:36.377 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.031) 0:01:36.409 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.059) 0:01:36.468 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.063) 0:01:36.532 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.050) 0:01:36.583 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.056) 0:01:36.639 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.085) 0:01:36.724 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.029) 0:01:36.754 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:44:26 -0400 (0:00:00.030) 0:01:36.784 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:44:27 -0400 (0:00:00.056) 0:01:36.841 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:44:27 -0400 (0:00:00.561) 0:01:37.403 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:44:27 -0400 (0:00:00.060) 0:01:37.464 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:44:27 -0400 (0:00:00.029) 0:01:37.494 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:44:27 -0400 (0:00:00.030) 0:01:37.525 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:44:28 -0400 (0:00:00.641) 0:01:38.166 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:44:28 -0400 (0:00:00.030) 0:01:38.196 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:44:28 -0400 (0:00:00.087) 0:01:38.284 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:44:28 -0400 (0:00:00.035) 0:01:38.320 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:44:28 -0400 (0:00:00.031) 0:01:38.351 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:44:28 -0400 (0:00:00.368) 0:01:38.719 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:44:28 -0400 (0:00:00.036) 0:01:38.756 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:44:28 -0400 (0:00:00.064) 0:01:38.820 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:44:29 -0400 (0:00:00.059) 0:01:38.879 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:44:29 -0400 (0:00:00.056) 0:01:38.936 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:44:29 -0400 (0:00:00.034) 0:01:38.970 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:44:29 -0400 (0:00:00.035) 0:01:39.005 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:44:31 -0400 (0:00:01.868) 0:01:40.874 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:44:31 -0400 (0:00:00.716) 0:01:41.591 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:44:31 -0400 (0:00:00.034) 0:01:41.626 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:44:31 -0400 (0:00:00.076) 0:01:41.702 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:44:31 -0400 (0:00:00.032) 0:01:41.734 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:44:31 -0400 (0:00:00.058) 0:01:41.792 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.063) 0:01:41.856 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.049) 0:01:41.906 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.061) 0:01:41.967 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.086) 0:01:42.053 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.031) 0:01:42.084 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.032) 0:01:42.117 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.057) 0:01:42.175 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.579) 0:01:42.755 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:44:32 -0400 (0:00:00.058) 0:01:42.813 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:44:33 -0400 (0:00:00.030) 0:01:42.844 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:44:33 -0400 (0:00:00.030) 0:01:42.875 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:44:33 -0400 (0:00:00.528) 0:01:43.403 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:44:33 -0400 (0:00:00.031) 0:01:43.434 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:44:33 -0400 (0:00:00.035) 0:01:43.469 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 539b231f-e918-4ed2-8d46-60173f2c7586 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:44:33 -0400 (0:00:00.033) 0:01:43.503 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:44:33 -0400 (0:00:00.075) 0:01:43.579 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:44:34 -0400 (0:00:00.372) 0:01:43.952 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:44:34 -0400 (0:00:00.066) 0:01:44.019 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:44:34 -0400 (0:00:00.062) 0:01:44.081 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:44:34 -0400 (0:00:00.055) 0:01:44.136 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:44:34 -0400 (0:00:00.036) 0:01:44.173 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:44:34 -0400 (0:00:00.035) 0:01:44.208 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:44:36 -0400 (0:00:01.852) 0:01:46.060 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:44:36 -0400 (0:00:00.716) 0:01:46.777 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:44:36 -0400 (0:00:00.035) 0:01:46.812 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.031) 0:01:46.843 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.032) 0:01:46.875 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.077) 0:01:46.953 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.198) 0:01:47.152 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.051) 0:01:47.203 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.058) 0:01:47.261 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.103) 0:01:47.365 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.049) 0:01:47.414 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.055) 0:01:47.469 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:44:37 -0400 (0:00:00.080) 0:01:47.550 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:44:38 -0400 (0:00:00.575) 0:01:48.126 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:44:38 -0400 (0:00:00.065) 0:01:48.191 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:44:38 -0400 (0:00:00.030) 0:01:48.221 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:44:38 -0400 (0:00:00.030) 0:01:48.252 ******* changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.619) 0:01:48.872 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.030) 0:01:48.903 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.035) 0:01:48.939 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.035) 0:01:48.974 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.031) 0:01:49.005 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.377) 0:01:49.382 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.104) 0:01:49.487 ******* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.067) 0:01:49.554 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.060) 0:01:49.615 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.056) 0:01:49.671 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.035) 0:01:49.706 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:44:39 -0400 (0:00:00.036) 0:01:49.743 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:44:41 -0400 (0:00:01.872) 0:01:51.615 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.718) 0:01:52.333 ******* ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.034) 0:01:52.368 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.031) 0:01:52.399 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.035) 0:01:52.435 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.062) 0:01:52.498 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.109) 0:01:52.607 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.050) 0:01:52.658 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.062) 0:01:52.720 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.084) 0:01:52.805 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:44:42 -0400 (0:00:00.032) 0:01:52.837 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:44:43 -0400 (0:00:00.031) 0:01:52.868 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:44:43 -0400 (0:00:00.060) 0:01:52.929 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:44:43 -0400 (0:00:00.576) 0:01:53.505 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:44:43 -0400 (0:00:00.057) 0:01:53.563 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:44:43 -0400 (0:00:00.031) 0:01:53.595 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:44:43 -0400 (0:00:00.032) 0:01:53.628 ******* ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:44:44 -0400 (0:00:00.557) 0:01:54.185 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:44:44 -0400 (0:00:00.032) 0:01:54.218 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:44:44 -0400 (0:00:00.035) 0:01:54.253 ******* ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:44:44 -0400 (0:00:00.036) 0:01:54.290 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:44:44 -0400 (0:00:00.030) 0:01:54.321 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:44:44 -0400 (0:00:00.383) 0:01:54.704 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:44:44 -0400 (0:00:00.110) 0:01:54.815 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.053) 0:01:54.869 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.034) 0:01:54.903 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.367) 0:01:55.270 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.035) 0:01:55.305 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017458", "end": "2024-08-31 08:44:45.778885", "rc": 1, "start": "2024-08-31 08:44:45.761427" } 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.377) 0:01:55.683 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.031) 0:01:55.715 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.031) 0:01:55.746 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.030) 0:01:55.777 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:44:45 -0400 (0:00:00.032) 0:01:55.810 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:44:46 -0400 (0:00:00.030) 0:01:55.840 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 31 August 2024 08:44:46 -0400 (0:00:00.035) 0:01:55.876 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.159294", "end": "2024-08-31 08:44:46.490412", "rc": 0, "start": "2024-08-31 08:44:46.331118" } STDOUT: NetworkManager-1.48.10-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 31 August 2024 08:44:46 -0400 (0:00:00.520) 0:01:56.396 ******* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 31 August 2024 08:44:46 -0400 (0:00:00.034) 0:01:56.430 ******* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:44:46 -0400 (0:00:00.041) 0:01:56.472 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:44:46 -0400 (0:00:00.077) 0:01:56.550 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:44:46 -0400 (0:00:00.095) 0:01:56.645 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:44:47 -0400 (0:00:00.363) 0:01:57.009 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:44:47 -0400 (0:00:00.036) 0:01:57.045 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:44:47 -0400 (0:00:00.034) 0:01:57.080 ******* included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:44:47 -0400 (0:00:00.063) 0:01:57.144 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.032976", "end": "2024-08-31 08:44:47.633719", "rc": 1, "start": "2024-08-31 08:44:47.600743" } 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 31 August 2024 08:44:47 -0400 (0:00:00.395) 0:01:57.539 ******* ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008900", "end": "2024-08-31 08:44:48.005422", "rc": 0, "start": "2024-08-31 08:44:47.996522" } 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:fa:78:39:67 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.14.205/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3038sec preferred_lft 3038sec inet6 fe80::8ff:faff:fe78:3967/64 scope link noprefixroute valid_lft forever preferred_lft forever 30: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether d2:7f:f2:37:f1:3d brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.205 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.205 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-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 31 August 2024 08:44:48 -0400 (0:00:00.371) 0:01:57.911 ******* ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.085019", "end": "2024-08-31 08:44:48.460806", "rc": 0, "start": "2024-08-31 08:44:48.375787" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 12771 0 --:--:-- --:--:-- --:--:-- 13260 % 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 7821 0 --:--:-- --:--:-- --:--:-- 7864 PLAY RECAP ********************************************************************* managed_node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 31 August 2024 08:44:48 -0400 (0:00:00.505) 0:01:58.416 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-7df/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-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-7df/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-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.26s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.08s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.90s /tmp/collections-7df/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3