[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.4] 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-2qZ executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-2qZ/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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 21 September 2024 08:44:57 -0400 (0:00:00.027) 0:00:00.027 **** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 21 September 2024 08:44:59 -0400 (0:00:01.581) 0:00:01.608 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 September 2024 08:44:59 -0400 (0:00:00.049) 0:00:01.658 **** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.612) 0:00:02.270 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.474) 0:00:02.744 **** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.046) 0:00:02.793 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.027) 0:00:02.820 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.078) 0:00:02.899 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.023) 0:00:02.923 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.021) 0:00:02.945 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.022) 0:00:02.967 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.026) 0:00:02.993 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.026) 0:00:03.020 **** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 September 2024 08:45:00 -0400 (0:00:00.047) 0:00:03.067 **** ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.766) 0:00:03.833 **** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.030) 0:00:03.864 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.035) 0:00:03.899 **** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.022) 0:00:03.922 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.054) 0:00:03.976 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.022) 0:00:03.998 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:45:01 -0400 (0:00:00.019) 0:00:04.017 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003237", "end": "2024-09-21 08:45:02.268519", "rc": 0, "start": "2024-09-21 08:45:02.265282" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.560) 0:00:04.578 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.018) 0:00:04.596 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.031) 0:00:04.628 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.043) 0:00:04.671 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007801", "end": "2024-09-21 08:45:02.699610", "rc": 1, "start": "2024-09-21 08:45:02.691809" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.343) 0:00:05.014 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:45:02 -0400 (0:00:00.031) 0:00:05.045 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:45:03 -0400 (0:00:00.350) 0:00:05.396 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:45:03 -0400 (0:00:00.053) 0:00:05.450 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:45:03 -0400 (0:00:00.059) 0:00:05.510 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:03 -0400 (0:00:00.086) 0:00:05.597 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:03 -0400 (0:00:00.064) 0:00:05.661 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:03 -0400 (0:00:00.061) 0:00:05.723 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:03 -0400 (0:00:00.029) 0:00:05.752 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:03 -0400 (0:00:00.028) 0:00:05.781 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:05 -0400 (0:00:01.768) 0:00:07.549 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:06 -0400 (0:00:01.162) 0:00:08.712 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.056) 0:00:08.768 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.053) 0:00:08.821 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.051) 0:00:08.872 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.084) 0:00:08.957 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.096) 0:00:09.054 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.079) 0:00:09.133 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:06 -0400 (0:00:00.090) 0:00:09.223 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.156) 0:00:09.380 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.044) 0:00:09.424 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.052) 0:00:09.476 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:07 -0400 (0:00:00.077) 0:00:09.554 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:08 -0400 (0:00:00.930) 0:00:10.484 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:08 -0400 (0:00:00.104) 0:00:10.589 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:08 -0400 (0:00:00.052) 0:00:10.642 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:08 -0400 (0:00:00.071) 0:00:10.713 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50e92f9b-f5a5-4380-883b-30008ff67ce6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:09 -0400 (0:00:01.061) 0:00:11.775 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:09 -0400 (0:00:00.040) 0:00:11.815 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50e92f9b-f5a5-4380-883b-30008ff67ce6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:09 -0400 (0:00:00.042) 0:00:11.858 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50e92f9b-f5a5-4380-883b-30008ff67ce6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50e92f9b-f5a5-4380-883b-30008ff67ce6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:09 -0400 (0:00:00.041) 0:00:11.899 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:09 -0400 (0:00:00.050) 0:00:11.950 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.546) 0:00:12.496 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50e92f9b-f5a5-4380-883b-30008ff67ce6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50e92f9b-f5a5-4380-883b-30008ff67ce6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.059) 0:00:12.556 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.100) 0:00:12.656 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.209) 0:00:12.866 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:45:10 -0400 (0:00:00.069) 0:00:12.935 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.397) 0:00:13.333 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.057) 0:00:13.391 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018129", "end": "2024-09-21 08:45:11.471006", "rc": 0, "start": "2024-09-21 08:45:11.452877" } 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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.405) 0:00:13.796 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.036) 0:00:13.833 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.032) 0:00:13.865 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.033) 0:00:13.898 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.033) 0:00:13.932 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.031) 0:00:13.963 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.036) 0:00:14.000 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.035) 0:00:14.036 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.042) 0:00:14.078 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:45:11 -0400 (0:00:00.136) 0:00:14.215 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.152) 0:00:14.368 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726922709.3887763, "block_size": 4096, "blocks": 0, "ctime": 1726922709.3887763, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29699, "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": 1726922709.3887763, "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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.441) 0:00:14.810 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.046) 0:00:14.857 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.038) 0:00:14.896 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:45:12 -0400 (0:00:00.065) 0:00:14.961 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.056273", "end": "2024-09-21 08:45:13.056874", "rc": 1, "start": "2024-09-21 08:45:13.000601" } STDOUT: Connection 'statebr' (50e92f9b-f5a5-4380-883b-30008ff67ce6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.420) 0:00:15.382 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.056) 0:00:15.438 **** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.033) 0:00:15.472 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.066) 0:00:15.539 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.051) 0:00:15.591 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.063) 0:00:15.654 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003218", "end": "2024-09-21 08:45:13.674170", "rc": 0, "start": "2024-09-21 08:45:13.670952" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.363) 0:00:16.018 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.061) 0:00:16.080 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:45:13 -0400 (0:00:00.101) 0:00:16.181 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.090) 0:00:16.271 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006449", "end": "2024-09-21 08:45:14.323411", "rc": 1, "start": "2024-09-21 08:45:14.316962" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.375) 0:00:16.647 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.064) 0:00:16.711 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.356) 0:00:17.068 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.060) 0:00:17.129 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 September 2024 08:45:14 -0400 (0:00:00.099) 0:00:17.228 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:15 -0400 (0:00:00.119) 0:00:17.348 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:15 -0400 (0:00:00.104) 0:00:17.452 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:15 -0400 (0:00:00.090) 0:00:17.543 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:15 -0400 (0:00:00.058) 0:00:17.601 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:15 -0400 (0:00:00.066) 0:00:17.668 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:17 -0400 (0:00:01.803) 0:00:19.472 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.926) 0:00:20.398 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.070) 0:00:20.468 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.045) 0:00:20.513 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.045) 0:00:20.559 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.058) 0:00:20.617 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.061) 0:00:20.679 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.054) 0:00:20.734 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.083) 0:00:20.817 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.157) 0:00:20.975 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.055) 0:00:21.031 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.053) 0:00:21.084 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:18 -0400 (0:00:00.100) 0:00:21.185 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.636) 0:00:21.822 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.069) 0:00:21.891 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.113) 0:00:22.005 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:19 -0400 (0:00:00.051) 0:00:22.057 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eea4880-b834-4dac-b0d3-da70625673e4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.577) 0:00:22.634 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.105) 0:00:22.739 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eea4880-b834-4dac-b0d3-da70625673e4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.095) 0:00:22.835 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eea4880-b834-4dac-b0d3-da70625673e4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eea4880-b834-4dac-b0d3-da70625673e4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.097) 0:00:22.932 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:20 -0400 (0:00:00.074) 0:00:23.007 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.405) 0:00:23.412 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eea4880-b834-4dac-b0d3-da70625673e4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eea4880-b834-4dac-b0d3-da70625673e4" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.058) 0:00:23.471 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.111) 0:00:23.582 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.090) 0:00:23.673 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.433) 0:00:24.107 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:45:21 -0400 (0:00:00.100) 0:00:24.212 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.104) 0:00:24.317 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.097) 0:00:24.415 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.392) 0:00:24.807 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:45:22 -0400 (0:00:00.067) 0:00:24.875 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017760", "end": "2024-09-21 08:45:22.941343", "rc": 0, "start": "2024-09-21 08:45:22.923583" } 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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.436) 0:00:25.311 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.080) 0:00:25.391 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.057) 0:00:25.448 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.053) 0:00:25.502 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.053) 0:00:25.555 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.054) 0:00:25.610 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.069) 0:00:25.680 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.093) 0:00:25.774 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.115) 0:00:25.889 **** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.127) 0:00:26.017 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.069) 0:00:26.086 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:45:23 -0400 (0:00:00.104) 0:00:26.191 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035245", "end": "2024-09-21 08:45:24.273770", "rc": 1, "start": "2024-09-21 08:45:24.238525" } STDOUT: Connection 'statebr' (4eea4880-b834-4dac-b0d3-da70625673e4) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.411) 0:00:26.603 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.090) 0:00:26.693 **** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.035) 0:00:26.729 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.072) 0:00:26.802 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.051) 0:00:26.853 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:45:24 -0400 (0:00:00.050) 0:00:26.904 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003198", "end": "2024-09-21 08:45:24.921703", "rc": 0, "start": "2024-09-21 08:45:24.918505" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.388) 0:00:27.293 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.076) 0:00:27.369 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.061) 0:00:27.431 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.119) 0:00:27.550 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.121) 0:00:27.672 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.109) 0:00:27.781 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.253) 0:00:28.035 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.064) 0:00:28.099 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:25 -0400 (0:00:00.062) 0:00:28.162 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:27 -0400 (0:00:01.665) 0:00:29.827 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.869) 0:00:30.696 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.035) 0:00:30.732 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.032) 0:00:30.764 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.031) 0:00:30.796 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.064) 0:00:30.861 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.102) 0:00:30.963 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.073) 0:00:31.037 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.072) 0:00:31.110 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:28 -0400 (0:00:00.143) 0:00:31.253 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:29 -0400 (0:00:00.053) 0:00:31.307 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:29 -0400 (0:00:00.052) 0:00:31.359 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:29 -0400 (0:00:00.266) 0:00:31.626 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.791) 0:00:32.417 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.125) 0:00:32.543 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.067) 0:00:32.610 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.053) 0:00:32.664 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.564) 0:00:33.229 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:30 -0400 (0:00:00.032) 0:00:33.261 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.035) 0:00:33.297 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.064) 0:00:33.362 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.055) 0:00:33.417 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.404) 0:00:33.822 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.053) 0:00:33.875 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.097) 0:00:33.972 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.093) 0:00:34.066 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.103) 0:00:34.169 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:31 -0400 (0:00:00.064) 0:00:34.234 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:32 -0400 (0:00:00.059) 0:00:34.294 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:32 -0400 (0:00:00.061) 0:00:34.355 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:33 -0400 (0:00:01.583) 0:00:35.939 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.842) 0:00:36.781 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.060) 0:00:36.842 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.056) 0:00:36.898 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.039) 0:00:36.938 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.078) 0:00:37.016 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.107) 0:00:37.123 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:34 -0400 (0:00:00.085) 0:00:37.209 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.104) 0:00:37.314 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.138) 0:00:37.452 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.136) 0:00:37.589 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.057) 0:00:37.646 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:35 -0400 (0:00:00.104) 0:00:37.751 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.619) 0:00:38.371 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.101) 0:00:38.472 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.054) 0:00:38.526 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.058) 0:00:38.585 **** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.566) 0:00:39.151 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.043) 0:00:39.195 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:36 -0400 (0:00:00.042) 0:00:39.238 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6e5c76c-0525-4dc7-87ca-723deec7d6d3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:37 -0400 (0:00:00.036) 0:00:39.274 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:37 -0400 (0:00:00.032) 0:00:39.307 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:45:37 -0400 (0:00:00.433) 0:00:39.740 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:45:37 -0400 (0:00:00.118) 0:00:39.859 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:45:37 -0400 (0:00:00.118) 0:00:39.978 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726922730.8552544, "block_size": 4096, "blocks": 0, "ctime": 1726922730.8552544, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29830, "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": 1726922730.8552544, "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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:45:38 -0400 (0:00:00.400) 0:00:40.378 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:45:38 -0400 (0:00:00.060) 0:00:40.439 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:45:38 -0400 (0:00:00.096) 0:00:40.535 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:45:38 -0400 (0:00:00.057) 0:00:40.593 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:45:38 -0400 (0:00:00.405) 0:00:40.998 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:45:38 -0400 (0:00:00.055) 0:00:41.054 **** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018111", "end": "2024-09-21 08:45:39.101148", "rc": 0, "start": "2024-09-21 08:45:39.083037" } 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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.379) 0:00:41.434 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.058) 0:00:41.492 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.080) 0:00:41.573 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.107) 0:00:41.680 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.083) 0:00:41.764 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.082) 0:00:41.846 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.082) 0:00:41.928 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.057) 0:00:41.985 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.040) 0:00:42.026 **** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.074) 0:00:42.101 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:45:39 -0400 (0:00:00.109) 0:00:42.211 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.094) 0:00:42.306 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.055784", "end": "2024-09-21 08:45:40.386690", "rc": 1, "start": "2024-09-21 08:45:40.330906" } STDOUT: Connection 'statebr' (f6e5c76c-0525-4dc7-87ca-723deec7d6d3) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.428) 0:00:42.734 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.127) 0:00:42.862 **** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.080) 0:00:42.943 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.120) 0:00:43.064 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:45:40 -0400 (0:00:00.107) 0:00:43.172 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.105) 0:00:43.277 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003248", "end": "2024-09-21 08:45:41.319902", "rc": 0, "start": "2024-09-21 08:45:41.316654" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.368) 0:00:43.646 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.036) 0:00:43.683 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.037) 0:00:43.720 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.148) 0:00:43.869 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.135) 0:00:44.004 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.109) 0:00:44.114 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:41 -0400 (0:00:00.099) 0:00:44.214 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.063) 0:00:44.278 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:42 -0400 (0:00:00.063) 0:00:44.341 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:43 -0400 (0:00:01.581) 0:00:45.923 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:44 -0400 (0:00:00.824) 0:00:46.748 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:44 -0400 (0:00:00.035) 0:00:46.783 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:44 -0400 (0:00:00.031) 0:00:46.815 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:44 -0400 (0:00:00.031) 0:00:46.847 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:44 -0400 (0:00:00.057) 0:00:46.904 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:44 -0400 (0:00:00.091) 0:00:46.996 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:44 -0400 (0:00:00.190) 0:00:47.187 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:44 -0400 (0:00:00.060) 0:00:47.248 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:45 -0400 (0:00:00.092) 0:00:47.340 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:45 -0400 (0:00:00.048) 0:00:47.388 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:45 -0400 (0:00:00.058) 0:00:47.446 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:45 -0400 (0:00:00.073) 0:00:47.520 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:45 -0400 (0:00:00.562) 0:00:48.083 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:45 -0400 (0:00:00.058) 0:00:48.142 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:45 -0400 (0:00:00.032) 0:00:48.174 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:45 -0400 (0:00:00.032) 0:00:48.206 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.745) 0:00:48.951 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.035) 0:00:48.987 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.036) 0:00:49.023 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.035) 0:00:49.059 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:46 -0400 (0:00:00.041) 0:00:49.101 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.454) 0:00:49.555 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.122) 0:00:49.679 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.158) 0:00:49.838 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.105) 0:00:49.943 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.092) 0:00:50.035 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.060) 0:00:50.096 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:47 -0400 (0:00:00.060) 0:00:50.156 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:49 -0400 (0:00:01.641) 0:00:51.797 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.867) 0:00:52.665 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.044) 0:00:52.709 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.040) 0:00:52.750 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.037) 0:00:52.788 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.061) 0:00:52.849 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.061) 0:00:52.910 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.155) 0:00:53.066 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:50 -0400 (0:00:00.099) 0:00:53.165 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.156) 0:00:53.321 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.055) 0:00:53.377 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.055) 0:00:53.432 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.097) 0:00:53.530 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.615) 0:00:54.145 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:51 -0400 (0:00:00.101) 0:00:54.247 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.067) 0:00:54.314 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.064) 0:00:54.379 **** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.531) 0:00:54.910 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.050) 0:00:54.961 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.052) 0:00:55.013 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20dbbf62-4980-4a4c-a23b-e9aed3f8ed67 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.047) 0:00:55.061 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:52 -0400 (0:00:00.038) 0:00:55.099 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:45:53 -0400 (0:00:00.365) 0:00:55.465 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:45:53 -0400 (0:00:00.100) 0:00:55.565 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:45:53 -0400 (0:00:00.070) 0:00:55.636 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:45:53 -0400 (0:00:00.064) 0:00:55.700 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:45:53 -0400 (0:00:00.060) 0:00:55.761 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:45:53 -0400 (0:00:00.042) 0:00:55.804 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:45:53 -0400 (0:00:00.054) 0:00:55.858 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:45:55 -0400 (0:00:01.661) 0:00:57.520 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.815) 0:00:58.336 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.043) 0:00:58.380 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.045) 0:00:58.426 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.038) 0:00:58.465 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.095) 0:00:58.560 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.087) 0:00:58.648 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.066) 0:00:58.715 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.072) 0:00:58.787 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.093) 0:00:58.880 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.032) 0:00:58.913 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.031) 0:00:58.944 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:45:56 -0400 (0:00:00.069) 0:00:59.014 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.615) 0:00:59.630 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.071) 0:00:59.701 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.058) 0:00:59.760 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:45:57 -0400 (0:00:00.072) 0:00:59.833 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.695) 0:01:00.529 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.084) 0:01:00.613 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.105) 0:01:00.719 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.123) 0:01:00.842 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:45:58 -0400 (0:00:00.102) 0:01:00.945 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:45:59 -0400 (0:00:00.631) 0:01:01.577 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:45:59 -0400 (0:00:00.159) 0:01:01.737 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:45:59 -0400 (0:00:00.189) 0:01:01.926 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726922746.567998, "block_size": 4096, "blocks": 0, "ctime": 1726922746.567998, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29961, "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": 1726922746.567998, "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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.442) 0:01:02.369 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.070) 0:01:02.440 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.104) 0:01:02.544 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.062) 0:01:02.607 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.458) 0:01:03.065 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:46:00 -0400 (0:00:00.059) 0:01:03.124 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018222", "end": "2024-09-21 08:46:01.222526", "rc": 1, "start": "2024-09-21 08:46:01.204304" } 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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.465) 0:01:03.590 **** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.060) 0:01:03.650 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.045) 0:01:03.696 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.053) 0:01:03.749 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.064) 0:01:03.813 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.100) 0:01:03.914 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.242) 0:01:04.156 **** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:46:01 -0400 (0:00:00.093) 0:01:04.250 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.070) 0:01:04.320 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.106) 0:01:04.426 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.054574", "end": "2024-09-21 08:46:02.524911", "rc": 1, "start": "2024-09-21 08:46:02.470337" } STDOUT: Connection 'statebr' (20dbbf62-4980-4a4c-a23b-e9aed3f8ed67) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.484) 0:01:04.910 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.104) 0:01:05.015 **** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.071) 0:01:05.086 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.087) 0:01:05.174 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:46:02 -0400 (0:00:00.051) 0:01:05.226 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.050) 0:01:05.276 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003223", "end": "2024-09-21 08:46:03.295472", "rc": 0, "start": "2024-09-21 08:46:03.292249" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.349) 0:01:05.625 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.051) 0:01:05.677 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.076) 0:01:05.753 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.152) 0:01:05.905 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.088) 0:01:05.994 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.089) 0:01:06.083 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.067) 0:01:06.151 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.046) 0:01:06.197 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:03 -0400 (0:00:00.039) 0:01:06.237 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:05 -0400 (0:00:01.585) 0:01:07.822 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.805) 0:01:08.627 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.035) 0:01:08.663 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.033) 0:01:08.696 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.037) 0:01:08.734 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.135) 0:01:08.869 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.104) 0:01:08.974 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.096) 0:01:09.070 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:06 -0400 (0:00:00.162) 0:01:09.233 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.152) 0:01:09.386 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.058) 0:01:09.444 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.056) 0:01:09.500 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.079) 0:01:09.580 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.550) 0:01:10.130 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.076) 0:01:10.206 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:07 -0400 (0:00:00.042) 0:01:10.249 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.041) 0:01:10.290 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.585) 0:01:10.876 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.064) 0:01:10.941 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.072) 0:01:11.013 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.056) 0:01:11.069 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:08 -0400 (0:00:00.040) 0:01:11.109 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:46:09 -0400 (0:00:00.424) 0:01:11.533 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:46:09 -0400 (0:00:00.047) 0:01:11.581 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:09 -0400 (0:00:00.084) 0:01:11.666 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:09 -0400 (0:00:00.072) 0:01:11.738 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:09 -0400 (0:00:00.057) 0:01:11.796 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:09 -0400 (0:00:00.036) 0:01:11.832 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:09 -0400 (0:00:00.042) 0:01:11.874 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:11 -0400 (0:00:01.610) 0:01:13.485 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:11 -0400 (0:00:00.748) 0:01:14.233 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.040) 0:01:14.273 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.040) 0:01:14.313 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.054) 0:01:14.368 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.125) 0:01:14.494 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.102) 0:01:14.597 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.099) 0:01:14.697 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.108) 0:01:14.805 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.165) 0:01:14.971 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.041) 0:01:15.012 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.047) 0:01:15.060 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:12 -0400 (0:00:00.081) 0:01:15.141 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.575) 0:01:15.716 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.101) 0:01:15.817 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.080) 0:01:15.898 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:13 -0400 (0:00:00.077) 0:01:15.976 **** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.715) 0:01:16.692 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.056) 0:01:16.748 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.053) 0:01:16.802 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f69c8b8c-f611-499d-a9a7-eb3cc63734fc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.043) 0:01:16.846 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:14 -0400 (0:00:00.057) 0:01:16.903 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.511) 0:01:17.414 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.120) 0:01:17.535 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.120) 0:01:17.655 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.110) 0:01:17.765 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.061) 0:01:17.827 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:15 -0400 (0:00:00.060) 0:01:17.888 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:17 -0400 (0:00:01.675) 0:01:19.563 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.866) 0:01:20.430 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.078) 0:01:20.508 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.085) 0:01:20.594 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.063) 0:01:20.657 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.090) 0:01:20.748 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.077) 0:01:20.825 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.168) 0:01:20.993 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.098) 0:01:21.092 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:18 -0400 (0:00:00.139) 0:01:21.231 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:19 -0400 (0:00:00.055) 0:01:21.286 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:19 -0400 (0:00:00.056) 0:01:21.343 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:19 -0400 (0:00:00.124) 0:01:21.467 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:19 -0400 (0:00:00.619) 0:01:22.087 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:19 -0400 (0:00:00.101) 0:01:22.189 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:19 -0400 (0:00:00.048) 0:01:22.238 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:20 -0400 (0:00:00.063) 0:01:22.301 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:20 -0400 (0:00:00.687) 0:01:22.989 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:20 -0400 (0:00:00.054) 0:01:23.043 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:20 -0400 (0:00:00.059) 0:01:23.103 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:20 -0400 (0:00:00.057) 0:01:23.160 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:20 -0400 (0:00:00.053) 0:01:23.214 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:46:21 -0400 (0:00:00.439) 0:01:23.653 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:46:21 -0400 (0:00:00.121) 0:01:23.774 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:21 -0400 (0:00:00.074) 0:01:23.848 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:21 -0400 (0:00:00.063) 0:01:23.912 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:21 -0400 (0:00:00.059) 0:01:23.972 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:21 -0400 (0:00:00.036) 0:01:24.009 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:21 -0400 (0:00:00.035) 0:01:24.045 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:23 -0400 (0:00:01.595) 0:01:25.640 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.822) 0:01:26.463 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.043) 0:01:26.507 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.047) 0:01:26.554 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.051) 0:01:26.606 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.097) 0:01:26.703 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.062) 0:01:26.766 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.056) 0:01:26.822 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.069) 0:01:26.891 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.163) 0:01:27.055 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:24 -0400 (0:00:00.101) 0:01:27.156 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:25 -0400 (0:00:00.108) 0:01:27.265 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:25 -0400 (0:00:00.195) 0:01:27.461 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:25 -0400 (0:00:00.645) 0:01:28.107 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:26 -0400 (0:00:00.160) 0:01:28.267 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:26 -0400 (0:00:00.074) 0:01:28.341 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:26 -0400 (0:00:00.069) 0:01:28.410 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:26 -0400 (0:00:00.665) 0:01:29.076 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:26 -0400 (0:00:00.112) 0:01:29.188 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:27 -0400 (0:00:00.115) 0:01:29.304 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:27 -0400 (0:00:00.090) 0:01:29.394 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:27 -0400 (0:00:00.064) 0:01:29.459 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:46:27 -0400 (0:00:00.550) 0:01:30.010 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:46:27 -0400 (0:00:00.119) 0:01:30.129 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:46:27 -0400 (0:00:00.072) 0:01:30.202 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:46:27 -0400 (0:00:00.046) 0:01:30.249 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.357) 0:01:30.606 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.032) 0:01:30.639 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016942", "end": "2024-09-21 08:46:28.689561", "rc": 1, "start": "2024-09-21 08:46:28.672619" } 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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.376) 0:01:31.016 **** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.033) 0:01:31.049 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.034) 0:01:31.084 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.034) 0:01:31.118 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.032) 0:01:31.151 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.034) 0:01:31.185 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:46:28 -0400 (0:00:00.036) 0:01:31.222 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:46:29 -0400 (0:00:00.084) 0:01:31.307 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:46:29 -0400 (0:00:00.112) 0:01:31.419 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:46:29 -0400 (0:00:00.366) 0:01:31.785 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:46:29 -0400 (0:00:00.036) 0:01:31.822 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:46:29 -0400 (0:00:00.040) 0:01:31.863 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:46:29 -0400 (0:00:00.106) 0:01:31.970 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033154", "end": "2024-09-21 08:46:30.078713", "rc": 1, "start": "2024-09-21 08:46:30.045559" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 September 2024 08:46:30 -0400 (0:00:00.479) 0:01:32.449 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:46:30 -0400 (0:00:00.122) 0:01:32.571 **** ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:46:30 -0400 (0:00:00.061) 0:01:32.633 **** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:46:30 -0400 (0:00:00.092) 0:01:32.725 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:46:30 -0400 (0:00:00.118) 0:01:32.844 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:46:30 -0400 (0:00:00.064) 0:01:32.909 **** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003268", "end": "2024-09-21 08:46:30.928081", "rc": 0, "start": "2024-09-21 08:46:30.924813" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:46:30 -0400 (0:00:00.345) 0:01:33.254 **** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:46:31 -0400 (0:00:00.035) 0:01:33.289 **** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:46:31 -0400 (0:00:00.083) 0:01:33.373 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:46:31 -0400 (0:00:00.071) 0:01:33.444 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:31 -0400 (0:00:00.115) 0:01:33.559 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:31 -0400 (0:00:00.112) 0:01:33.672 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:31 -0400 (0:00:00.099) 0:01:33.772 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:31 -0400 (0:00:00.049) 0:01:33.822 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:31 -0400 (0:00:00.062) 0:01:33.885 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:33 -0400 (0:00:01.602) 0:01:35.487 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.784) 0:01:36.272 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.038) 0:01:36.310 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.031) 0:01:36.341 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.073) 0:01:36.414 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.073) 0:01:36.488 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.098) 0:01:36.586 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.087) 0:01:36.674 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.098) 0:01:36.773 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.169) 0:01:36.942 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.056) 0:01:36.999 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.054) 0:01:37.053 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:34 -0400 (0:00:00.102) 0:01:37.156 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:35 -0400 (0:00:00.631) 0:01:37.788 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:35 -0400 (0:00:00.104) 0:01:37.893 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:35 -0400 (0:00:00.072) 0:01:37.965 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:35 -0400 (0:00:00.063) 0:01:38.029 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:36 -0400 (0:00:00.719) 0:01:38.749 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:36 -0400 (0:00:00.071) 0:01:38.820 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:36 -0400 (0:00:00.058) 0:01:38.879 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:36 -0400 (0:00:00.060) 0:01:38.939 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:36 -0400 (0:00:00.093) 0:01:39.032 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:46:37 -0400 (0:00:00.427) 0:01:39.460 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:46:37 -0400 (0:00:00.065) 0:01:39.525 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:37 -0400 (0:00:00.123) 0:01:39.648 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:37 -0400 (0:00:00.099) 0:01:39.748 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:37 -0400 (0:00:00.103) 0:01:39.852 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:37 -0400 (0:00:00.065) 0:01:39.917 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:37 -0400 (0:00:00.065) 0:01:39.983 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:39 -0400 (0:00:01.576) 0:01:41.559 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.795) 0:01:42.355 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.057) 0:01:42.412 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.053) 0:01:42.466 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.153) 0:01:42.619 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.097) 0:01:42.717 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.111) 0:01:42.829 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.097) 0:01:42.926 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.105) 0:01:43.032 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.127) 0:01:43.159 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.033) 0:01:43.193 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:40 -0400 (0:00:00.032) 0:01:43.226 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:41 -0400 (0:00:00.063) 0:01:43.290 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:41 -0400 (0:00:00.570) 0:01:43.860 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:41 -0400 (0:00:00.065) 0:01:43.926 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:41 -0400 (0:00:00.055) 0:01:43.981 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:41 -0400 (0:00:00.055) 0:01:44.037 **** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:42 -0400 (0:00:00.564) 0:01:44.602 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:42 -0400 (0:00:00.045) 0:01:44.647 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:42 -0400 (0:00:00.054) 0:01:44.702 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 523f1eb9-5dee-4952-a621-00c187c28860 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:42 -0400 (0:00:00.064) 0:01:44.766 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:42 -0400 (0:00:00.121) 0:01:44.888 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:46:43 -0400 (0:00:00.425) 0:01:45.313 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:43 -0400 (0:00:00.122) 0:01:45.435 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:43 -0400 (0:00:00.115) 0:01:45.551 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:43 -0400 (0:00:00.101) 0:01:45.653 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:43 -0400 (0:00:00.125) 0:01:45.778 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:43 -0400 (0:00:00.115) 0:01:45.893 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:45 -0400 (0:00:01.663) 0:01:47.557 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.840) 0:01:48.397 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.069) 0:01:48.466 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.071) 0:01:48.537 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.061) 0:01:48.599 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.251) 0:01:48.851 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.104) 0:01:48.956 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.064) 0:01:49.021 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.079) 0:01:49.100 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.105) 0:01:49.206 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:46 -0400 (0:00:00.055) 0:01:49.261 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:47 -0400 (0:00:00.061) 0:01:49.323 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:47 -0400 (0:00:00.098) 0:01:49.421 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:47 -0400 (0:00:00.571) 0:01:49.992 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:47 -0400 (0:00:00.071) 0:01:50.064 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:47 -0400 (0:00:00.032) 0:01:50.097 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:47 -0400 (0:00:00.033) 0:01:50.130 **** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:48 -0400 (0:00:00.603) 0:01:50.734 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:48 -0400 (0:00:00.059) 0:01:50.793 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:48 -0400 (0:00:00.066) 0:01:50.860 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:48 -0400 (0:00:00.064) 0:01:50.924 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:48 -0400 (0:00:00.043) 0:01:50.967 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:46:49 -0400 (0:00:00.438) 0:01:51.406 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:46:49 -0400 (0:00:00.059) 0:01:51.466 **** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:46:49 -0400 (0:00:00.071) 0:01:51.537 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:46:49 -0400 (0:00:00.065) 0:01:51.603 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:46:49 -0400 (0:00:00.060) 0:01:51.664 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:46:49 -0400 (0:00:00.038) 0:01:51.702 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:46:49 -0400 (0:00:00.036) 0:01:51.738 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:46:51 -0400 (0:00:01.555) 0:01:53.294 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:46:51 -0400 (0:00:00.783) 0:01:54.077 **** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:46:51 -0400 (0:00:00.039) 0:01:54.117 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:46:51 -0400 (0:00:00.031) 0:01:54.148 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:46:51 -0400 (0:00:00.074) 0:01:54.222 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:46:52 -0400 (0:00:00.053) 0:01:54.275 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:46:52 -0400 (0:00:00.061) 0:01:54.337 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:46:52 -0400 (0:00:00.055) 0:01:54.393 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:46:52 -0400 (0:00:00.071) 0:01:54.465 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:46:52 -0400 (0:00:00.087) 0:01:54.553 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:46:52 -0400 (0:00:00.033) 0:01:54.586 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:46:52 -0400 (0:00:00.032) 0:01:54.619 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:46:52 -0400 (0:00:00.064) 0:01:54.684 **** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:46:53 -0400 (0:00:00.582) 0:01:55.267 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:46:53 -0400 (0:00:00.171) 0:01:55.438 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:46:53 -0400 (0:00:00.112) 0:01:55.550 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:46:53 -0400 (0:00:00.071) 0:01:55.621 **** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:46:53 -0400 (0:00:00.547) 0:01:56.168 **** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:46:53 -0400 (0:00:00.039) 0:01:56.208 **** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:46:53 -0400 (0:00:00.051) 0:01:56.259 **** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:46:54 -0400 (0:00:00.065) 0:01:56.324 **** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:46:54 -0400 (0:00:00.109) 0:01:56.434 **** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:46:54 -0400 (0:00:00.372) 0:01:56.807 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:46:54 -0400 (0:00:00.111) 0:01:56.918 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:46:54 -0400 (0:00:00.073) 0:01:56.992 **** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:46:54 -0400 (0:00:00.047) 0:01:57.039 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.360) 0:01:57.400 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.054) 0:01:57.455 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017770", "end": "2024-09-21 08:46:55.534540", "rc": 1, "start": "2024-09-21 08:46:55.516770" } 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-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.411) 0:01:57.867 **** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.045) 0:01:57.912 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.037) 0:01:57.950 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.034) 0:01:57.984 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.034) 0:01:58.019 **** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.032) 0:01:58.052 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 September 2024 08:46:55 -0400 (0:00:00.036) 0:01:58.088 **** ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.220360", "end": "2024-09-21 08:46:56.329938", "rc": 0, "start": "2024-09-21 08:46:56.109578" } STDOUT: NetworkManager-1.51.0-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 September 2024 08:46:56 -0400 (0:00:00.568) 0:01:58.656 **** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.0-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 September 2024 08:46:56 -0400 (0:00:00.077) 0:01:58.734 **** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.51.0-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:46:56 -0400 (0:00:00.037) 0:01:58.771 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:46:56 -0400 (0:00:00.125) 0:01:58.897 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:46:56 -0400 (0:00:00.063) 0:01:58.960 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:46:57 -0400 (0:00:00.345) 0:01:59.306 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:46:57 -0400 (0:00:00.037) 0:01:59.343 **** ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:46:57 -0400 (0:00:00.034) 0:01:59.378 **** included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:46:57 -0400 (0:00:00.068) 0:01:59.446 **** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033300", "end": "2024-09-21 08:46:57.511716", "rc": 1, "start": "2024-09-21 08:46:57.478416" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 September 2024 08:46:57 -0400 (0:00:00.397) 0:01:59.844 **** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008325", "end": "2024-09-21 08:46:57.889476", "rc": 0, "start": "2024-09-21 08:46:57.881151" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:c1:1c:c2:67 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.14.75/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2824sec preferred_lft 2824sec inet6 fe80::8ff:c1ff:fe1c:c267/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.75 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.75 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 September 2024 08:46:57 -0400 (0:00:00.376) 0:02:00.221 **** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.254642", "end": "2024-09-21 08:46:58.509479", "rc": 0, "start": "2024-09-21 08:46:58.254837" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1466 0 --:--:-- --:--:-- --:--:-- 1473 % 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 12652 0 --:--:-- --:--:-- --:--:-- 13227 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 21 September 2024 08:46:58 -0400 (0:00:00.728) 0:02:00.949 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.58s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.06s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.93s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/collections-2qZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26