ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-rEz/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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.036) 0:00:00.036 ******* ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Tuesday 08 October 2024 02:07:21 -0400 (0:00:01.082) 0:00:01.118 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.058) 0:00:01.176 ******* ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.572) 0:00:01.749 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.654) 0:00:02.404 ******* ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.068) 0:00:02.472 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.054) 0:00:02.527 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.089) 0:00:02.617 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.499) 0:00:03.116 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.022) 0:00:03.139 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.026) 0:00:03.165 ******* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.235583", "end": "2024-10-08 02:07:24.106013", "rc": 0, "start": "2024-10-08 02:07:23.870430" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.663) 0:00:03.829 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.016) 0:00:03.846 ******* ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.039) 0:00:03.886 ******* ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.688) 0:00:04.574 ******* ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.074) 0:00:04.649 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.065) 0:00:04.714 ******* ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.032) 0:00:04.747 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.071) 0:00:04.818 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.037) 0:00:04.856 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.037) 0:00:04.893 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002974", "end": "2024-10-08 02:07:25.565540", "rc": 0, "start": "2024-10-08 02:07:25.562566" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.395) 0:00:05.289 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.027) 0:00:05.317 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.033) 0:00:05.351 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.051) 0:00:05.402 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007278", "end": "2024-10-08 02:07:26.119702", "rc": 1, "start": "2024-10-08 02:07:26.112424" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.415) 0:00:05.818 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.026) 0:00:05.845 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.370) 0:00:06.215 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.020) 0:00:06.235 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.029) 0:00:06.265 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.095) 0:00:06.360 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.034) 0:00:06.395 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.018) 0:00:06.413 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.016) 0:00:06.430 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.019) 0:00:06.449 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:28 -0400 (0:00:01.836) 0:00:08.286 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:30 -0400 (0:00:01.868) 0:00:10.154 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.040) 0:00:10.195 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.036) 0:00:10.231 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.036) 0:00:10.267 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.036) 0:00:10.304 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.068) 0:00:10.372 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.104) 0:00:10.477 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.101) 0:00:10.578 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.128) 0:00:10.707 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.070) 0:00:10.777 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.108) 0:00:10.886 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.071) 0:00:10.957 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:32 -0400 (0:00:01.100) 0:00:12.057 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.110) 0:00:12.168 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.060) 0:00:12.228 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.055) 0:00:12.284 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4e19438-82d6-4004-9904-7235d4a4fdb7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.917) 0:00:13.202 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.061) 0:00:13.263 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4e19438-82d6-4004-9904-7235d4a4fdb7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.059) 0:00:13.323 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4e19438-82d6-4004-9904-7235d4a4fdb7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4e19438-82d6-4004-9904-7235d4a4fdb7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.057) 0:00:13.381 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.038) 0:00:13.420 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.477) 0:00:13.897 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4e19438-82d6-4004-9904-7235d4a4fdb7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4e19438-82d6-4004-9904-7235d4a4fdb7" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.041) 0:00:13.939 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.117) 0:00:14.056 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.172) 0:00:14.229 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.068) 0:00:14.298 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367653.462833, "block_size": 4096, "blocks": 8, "ctime": 1728367653.408833, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301237, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367653.408833, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.415) 0:00:14.714 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.038) 0:00:14.753 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018959", "end": "2024-10-08 02:07:35.446477", "rc": 0, "start": "2024-10-08 02:07:35.427518" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.406) 0:00:15.159 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.039) 0:00:15.199 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.038) 0:00:15.237 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.036) 0:00:15.274 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.043) 0:00:15.318 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.055) 0:00:15.373 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.066) 0:00:15.439 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.064) 0:00:15.503 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.062) 0:00:15.566 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.175) 0:00:15.742 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.093) 0:00:15.835 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367653.4109771, "block_size": 4096, "blocks": 0, "ctime": 1728367653.4109771, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36867, "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": 1728367653.4109771, "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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.543) 0:00:16.379 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.061) 0:00:16.440 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.058) 0:00:16.499 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.108) 0:00:16.607 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057088", "end": "2024-10-08 02:07:37.354383", "rc": 1, "start": "2024-10-08 02:07:37.297295" } STDOUT: Connection 'statebr' (a4e19438-82d6-4004-9904-7235d4a4fdb7) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.457) 0:00:17.064 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.059) 0:00:17.124 ******* ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.039) 0:00:17.164 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.102) 0:00:17.266 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.108) 0:00:17.374 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.068) 0:00:17.443 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003005", "end": "2024-10-08 02:07:38.107764", "rc": 0, "start": "2024-10-08 02:07:38.104759" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.406) 0:00:17.849 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.045) 0:00:17.895 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.047) 0:00:17.942 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.099) 0:00:18.042 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006252", "end": "2024-10-08 02:07:38.707818", "rc": 1, "start": "2024-10-08 02:07:38.701566" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.394) 0:00:18.436 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.095) 0:00:18.532 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.408) 0:00:18.941 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.061) 0:00:19.003 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.139) 0:00:19.142 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.126) 0:00:19.268 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.132) 0:00:19.401 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.078) 0:00:19.480 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.074) 0:00:19.554 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.058) 0:00:19.613 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:41 -0400 (0:00:01.820) 0:00:21.434 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:43 -0400 (0:00:01.676) 0:00:23.110 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.105) 0:00:23.215 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.104) 0:00:23.319 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.057) 0:00:23.377 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.088) 0:00:23.465 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.130) 0:00:23.596 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.097) 0:00:23.693 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.098) 0:00:23.792 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.130) 0:00:23.922 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.101) 0:00:24.024 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.058) 0:00:24.082 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.050) 0:00:24.133 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.569) 0:00:24.702 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.048) 0:00:24.751 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.034) 0:00:24.786 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.034) 0:00:24.820 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd0bb3fe-c3d6-4f4e-8ef4-c02c1b33da66 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.564) 0:00:25.385 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.042) 0:00:25.428 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd0bb3fe-c3d6-4f4e-8ef4-c02c1b33da66" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.055) 0:00:25.483 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd0bb3fe-c3d6-4f4e-8ef4-c02c1b33da66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd0bb3fe-c3d6-4f4e-8ef4-c02c1b33da66" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.066) 0:00:25.550 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.059) 0:00:25.609 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.495) 0:00:26.105 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd0bb3fe-c3d6-4f4e-8ef4-c02c1b33da66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd0bb3fe-c3d6-4f4e-8ef4-c02c1b33da66" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.040) 0:00:26.146 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.101) 0:00:26.247 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.095) 0:00:26.343 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.398) 0:00:26.741 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.060) 0:00:26.802 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.097) 0:00:26.899 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.060) 0:00:26.960 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367665.6608121, "block_size": 4096, "blocks": 8, "ctime": 1728367665.659812, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367665.659812, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.426) 0:00:27.387 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.077) 0:00:27.464 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018201", "end": "2024-10-08 02:07:48.232713", "rc": 0, "start": "2024-10-08 02:07:48.214512" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.602) 0:00:28.067 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.074) 0:00:28.142 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.070) 0:00:28.212 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.083) 0:00:28.296 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.064) 0:00:28.361 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.078) 0:00:28.439 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.062) 0:00:28.501 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.057) 0:00:28.559 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.063) 0:00:28.623 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.052) 0:00:28.675 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.051) 0:00:28.726 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.107) 0:00:28.834 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037503", "end": "2024-10-08 02:07:49.579602", "rc": 1, "start": "2024-10-08 02:07:49.542099" } STDOUT: Connection 'statebr' (fd0bb3fe-c3d6-4f4e-8ef4-c02c1b33da66) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.471) 0:00:29.305 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.147) 0:00:29.453 ******* ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.058) 0:00:29.511 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.111) 0:00:29.623 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.121) 0:00:29.745 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.102) 0:00:29.848 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003081", "end": "2024-10-08 02:07:50.586681", "rc": 0, "start": "2024-10-08 02:07:50.583600" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.471) 0:00:30.319 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.087) 0:00:30.407 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.066) 0:00:30.473 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.181) 0:00:30.655 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.138) 0:00:30.793 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.144) 0:00:30.937 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.155) 0:00:31.093 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.045) 0:00:31.138 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.042) 0:00:31.180 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:53 -0400 (0:00:01.735) 0:00:32.916 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:54 -0400 (0:00:01.535) 0:00:34.451 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.058) 0:00:34.510 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.057) 0:00:34.567 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.055) 0:00:34.623 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.058) 0:00:34.681 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.070) 0:00:34.751 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.057) 0:00:34.809 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.057) 0:00:34.866 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.145) 0:00:35.013 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.090) 0:00:35.103 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.062) 0:00:35.165 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.065) 0:00:35.230 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.692) 0:00:35.923 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.132) 0:00:36.056 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.042) 0:00:36.099 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.040) 0:00:36.139 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.735) 0:00:36.874 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.039) 0:00:36.913 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.037) 0:00:36.951 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.037) 0:00:36.988 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.039) 0:00:37.028 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.551) 0:00:37.580 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.046) 0:00:37.626 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.081) 0:00:37.707 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.119) 0:00:37.826 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.149) 0:00:37.976 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.056) 0:00:38.033 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.043) 0:00:38.076 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.053) 0:00:38.129 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:00 -0400 (0:00:01.651) 0:00:39.781 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:01 -0400 (0:00:01.565) 0:00:41.346 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.068) 0:00:41.414 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.056) 0:00:41.471 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.077) 0:00:41.549 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.058) 0:00:41.607 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.072) 0:00:41.680 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.057) 0:00:41.738 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.063) 0:00:41.802 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.108) 0:00:41.910 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.064) 0:00:41.975 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.070) 0:00:42.045 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.099) 0:00:42.144 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.646) 0:00:42.791 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.077) 0:00:42.868 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.035) 0:00:42.904 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.035) 0:00:42.940 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.581) 0:00:43.521 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.047) 0:00:43.569 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.052) 0:00:43.621 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12d07cb6-9fc5-43fd-9292-95dc4dff2afa skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.057) 0:00:43.679 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.042) 0:00:43.721 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.458) 0:00:44.180 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.181) 0:00:44.361 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.102) 0:00:44.464 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367677.0917034, "block_size": 4096, "blocks": 0, "ctime": 1728367677.0917034, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36998, "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": 1728367677.0917034, "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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.481) 0:00:44.945 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.062) 0:00:45.007 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.076) 0:00:45.083 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.044) 0:00:45.128 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367677.1327925, "block_size": 4096, "blocks": 8, "ctime": 1728367677.0897925, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367677.0897925, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.373) 0:00:45.501 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.038) 0:00:45.540 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018805", "end": "2024-10-08 02:08:06.227953", "rc": 0, "start": "2024-10-08 02:08:06.209148" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.410) 0:00:45.951 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.063) 0:00:46.015 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.049) 0:00:46.064 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.046) 0:00:46.111 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.051) 0:00:46.163 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.044) 0:00:46.207 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.088) 0:00:46.296 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.060) 0:00:46.357 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.069) 0:00:46.426 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.083) 0:00:46.510 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.058) 0:00:46.568 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.098) 0:00:46.667 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.069198", "end": "2024-10-08 02:08:07.406604", "rc": 1, "start": "2024-10-08 02:08:07.337406" } STDOUT: Connection 'statebr' (12d07cb6-9fc5-43fd-9292-95dc4dff2afa) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.459) 0:00:47.126 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.072) 0:00:47.198 ******* ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.039) 0:00:47.238 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.087) 0:00:47.325 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.083) 0:00:47.409 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.211) 0:00:47.620 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003306", "end": "2024-10-08 02:08:08.364477", "rc": 0, "start": "2024-10-08 02:08:08.361171" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.545) 0:00:48.166 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.060) 0:00:48.226 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.101) 0:00:48.328 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.118) 0:00:48.447 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.115) 0:00:48.562 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.126) 0:00:48.688 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.058) 0:00:48.747 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.061) 0:00:48.809 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.074) 0:00:48.883 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:11 -0400 (0:00:01.813) 0:00:50.697 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:12 -0400 (0:00:01.755) 0:00:52.452 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.059) 0:00:52.511 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.058) 0:00:52.569 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.074) 0:00:52.644 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.136) 0:00:52.780 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.097) 0:00:52.878 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.056) 0:00:52.935 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.062) 0:00:52.998 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.109) 0:00:53.107 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.057) 0:00:53.165 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.059) 0:00:53.224 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.052) 0:00:53.277 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.552) 0:00:53.829 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.053) 0:00:53.883 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.036) 0:00:53.920 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.034) 0:00:53.954 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.606) 0:00:54.560 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.093) 0:00:54.653 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.063) 0:00:54.717 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.066) 0:00:54.783 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.057) 0:00:54.841 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.436) 0:00:55.278 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.037) 0:00:55.315 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.058) 0:00:55.374 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.070) 0:00:55.445 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.058) 0:00:55.504 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.052) 0:00:55.556 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.040) 0:00:55.597 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:18 -0400 (0:00:02.739) 0:00:58.336 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:20 -0400 (0:00:01.595) 0:00:59.931 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.154) 0:01:00.086 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.072) 0:01:00.158 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.049) 0:01:00.208 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.051) 0:01:00.259 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.054) 0:01:00.314 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.035) 0:01:00.350 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.040) 0:01:00.390 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.068) 0:01:00.459 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.034) 0:01:00.494 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.034) 0:01:00.529 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.039) 0:01:00.568 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.605) 0:01:01.174 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.050) 0:01:01.225 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.034) 0:01:01.260 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.052) 0:01:01.312 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.591) 0:01:01.903 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.057) 0:01:01.961 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.057) 0:01:02.018 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2d9f94c-2d16-4f27-b0eb-ab81372ff94b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.058) 0:01:02.076 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.041) 0:01:02.118 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.401) 0:01:02.519 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.105) 0:01:02.624 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.116) 0:01:02.741 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.081) 0:01:02.823 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.054) 0:01:02.878 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.076) 0:01:02.954 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.047) 0:01:03.001 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:25 -0400 (0:00:01.928) 0:01:04.930 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:26 -0400 (0:00:01.550) 0:01:06.481 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.036) 0:01:06.517 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.069) 0:01:06.587 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.049) 0:01:06.636 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.060) 0:01:06.696 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.061) 0:01:06.758 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.040) 0:01:06.798 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.042) 0:01:06.841 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.070) 0:01:06.912 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.033) 0:01:06.945 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.033) 0:01:06.979 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.040) 0:01:07.019 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.569) 0:01:07.589 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.067) 0:01:07.657 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.057) 0:01:07.715 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.058) 0:01:07.773 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.809) 0:01:08.583 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.053) 0:01:08.637 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.039) 0:01:08.677 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.039) 0:01:08.716 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.037) 0:01:08.753 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.376) 0:01:09.129 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.086) 0:01:09.216 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.065) 0:01:09.282 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367694.7777743, "block_size": 4096, "blocks": 0, "ctime": 1728367694.7777743, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37129, "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": 1728367694.7777743, "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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.475) 0:01:09.757 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.100) 0:01:09.857 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.107) 0:01:09.965 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.123) 0:01:10.088 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.484) 0:01:10.572 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.053) 0:01:10.626 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019038", "end": "2024-10-08 02:08:31.375107", "rc": 1, "start": "2024-10-08 02:08:31.356069" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.485) 0:01:11.111 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.060) 0:01:11.172 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.048) 0:01:11.221 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.045) 0:01:11.267 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.039) 0:01:11.307 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.038) 0:01:11.345 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.045) 0:01:11.390 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.051) 0:01:11.442 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.081) 0:01:11.523 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.085) 0:01:11.609 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.077730", "end": "2024-10-08 02:08:32.373785", "rc": 1, "start": "2024-10-08 02:08:32.296055" } STDOUT: Connection 'statebr' (f2d9f94c-2d16-4f27-b0eb-ab81372ff94b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.474) 0:01:12.084 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.066) 0:01:12.150 ******* ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.059) 0:01:12.209 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.113) 0:01:12.323 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.098) 0:01:12.421 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.098) 0:01:12.520 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2024-10-08 02:08:33.253299", "rc": 0, "start": "2024-10-08 02:08:33.249828" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.477) 0:01:12.997 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.058) 0:01:13.055 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.058) 0:01:13.113 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.118) 0:01:13.232 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.128) 0:01:13.361 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.081) 0:01:13.443 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.051) 0:01:13.494 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.037) 0:01:13.532 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.039) 0:01:13.571 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:35 -0400 (0:00:01.720) 0:01:15.292 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:37 -0400 (0:00:01.708) 0:01:17.000 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.079) 0:01:17.080 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.053) 0:01:17.133 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.056) 0:01:17.190 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.056) 0:01:17.246 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.056) 0:01:17.303 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.040) 0:01:17.343 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.049) 0:01:17.393 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.082) 0:01:17.476 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.036) 0:01:17.512 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.071) 0:01:17.584 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.042) 0:01:17.627 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.605) 0:01:18.232 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.056) 0:01:18.289 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.039) 0:01:18.328 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.042) 0:01:18.371 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.721) 0:01:19.093 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.072) 0:01:19.166 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.050) 0:01:19.216 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.048) 0:01:19.264 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.049) 0:01:19.314 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.476) 0:01:19.790 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.089) 0:01:19.879 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.172) 0:01:20.052 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.126) 0:01:20.178 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.068) 0:01:20.247 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.048) 0:01:20.295 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.042) 0:01:20.337 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:42 -0400 (0:00:01.716) 0:01:22.054 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:43 -0400 (0:00:01.555) 0:01:23.610 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.055) 0:01:23.665 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.055) 0:01:23.721 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.053) 0:01:23.774 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.058) 0:01:23.833 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.065) 0:01:23.899 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.051) 0:01:23.950 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.069) 0:01:24.020 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.085) 0:01:24.106 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.053) 0:01:24.159 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.048) 0:01:24.208 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.082) 0:01:24.290 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.582) 0:01:24.872 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.063) 0:01:24.935 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.062) 0:01:24.998 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.065) 0:01:25.063 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.623) 0:01:25.686 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.061) 0:01:25.748 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.055) 0:01:25.803 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac4bc429-1ffd-4b18-9d3c-2e878f50e59c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.046) 0:01:25.850 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.043) 0:01:25.893 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.407) 0:01:26.301 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.125) 0:01:26.427 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.088) 0:01:26.515 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.050) 0:01:26.566 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.036) 0:01:26.603 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.037) 0:01:26.640 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:48 -0400 (0:00:01.742) 0:01:28.382 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:50 -0400 (0:00:01.488) 0:01:29.871 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.037) 0:01:29.908 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.034) 0:01:29.942 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.035) 0:01:29.978 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.034) 0:01:30.013 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.042) 0:01:30.055 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.035) 0:01:30.091 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.041) 0:01:30.133 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.097) 0:01:30.230 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.055) 0:01:30.286 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.054) 0:01:30.341 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.070) 0:01:30.411 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.805) 0:01:31.216 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.080) 0:01:31.297 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.058) 0:01:31.355 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.052) 0:01:31.408 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.630) 0:01:32.039 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.043) 0:01:32.082 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.045) 0:01:32.128 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.051) 0:01:32.180 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.041) 0:01:32.221 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.378) 0:01:32.599 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.148) 0:01:32.748 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.083) 0:01:32.832 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.068) 0:01:32.900 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.043) 0:01:32.944 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.041) 0:01:32.985 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.048) 0:01:33.034 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:55 -0400 (0:00:01.778) 0:01:34.812 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:56 -0400 (0:00:01.512) 0:01:36.325 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.037) 0:01:36.362 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.035) 0:01:36.397 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.036) 0:01:36.434 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.052) 0:01:36.487 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.064) 0:01:36.552 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.056) 0:01:36.609 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.070) 0:01:36.679 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.109) 0:01:36.789 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.094) 0:01:36.883 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.048) 0:01:36.932 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.074) 0:01:37.006 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.601) 0:01:37.608 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.079) 0:01:37.687 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.064) 0:01:37.752 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.061) 0:01:37.813 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.689) 0:01:38.503 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.057) 0:01:38.561 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.064) 0:01:38.625 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.060) 0:01:38.685 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.056) 0:01:38.742 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.439) 0:01:39.181 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.096) 0:01:39.277 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.074) 0:01:39.351 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.044) 0:01:39.396 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.405) 0:01:39.801 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.055) 0:01:39.856 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018803", "end": "2024-10-08 02:09:00.572876", "rc": 1, "start": "2024-10-08 02:09:00.554073" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.444) 0:01:40.301 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.053) 0:01:40.355 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.050) 0:01:40.405 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.052) 0:01:40.457 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.043) 0:01:40.501 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.036) 0:01:40.538 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.090) 0:01:40.629 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.112) 0:01:40.741 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.099) 0:01:40.841 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.402) 0:01:41.243 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.040) 0:01:41.284 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.036) 0:01:41.320 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.085) 0:01:41.406 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.038500", "end": "2024-10-08 02:09:02.129900", "rc": 1, "start": "2024-10-08 02:09:02.091400" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.457) 0:01:41.863 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.072) 0:01:41.936 ******* ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.044) 0:01:41.980 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.151) 0:01:42.132 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.058) 0:01:42.190 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.055) 0:01:42.246 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003114", "end": "2024-10-08 02:09:02.922226", "rc": 0, "start": "2024-10-08 02:09:02.919112" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.386) 0:01:42.633 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.039) 0:01:42.673 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.047) 0:01:42.720 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.072) 0:01:42.793 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.061) 0:01:42.854 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.066) 0:01:42.921 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.078) 0:01:42.999 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.040) 0:01:43.039 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.046) 0:01:43.086 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:05 -0400 (0:00:01.724) 0:01:44.811 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:06 -0400 (0:00:01.586) 0:01:46.397 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.044) 0:01:46.442 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.044) 0:01:46.486 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.039) 0:01:46.526 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.038) 0:01:46.565 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.043) 0:01:46.608 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.035) 0:01:46.644 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.041) 0:01:46.685 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.082) 0:01:46.768 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.041) 0:01:46.809 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.040) 0:01:46.850 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.063) 0:01:46.913 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.611) 0:01:47.524 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.064) 0:01:47.589 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.043) 0:01:47.633 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.099) 0:01:47.733 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.634) 0:01:48.367 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.036) 0:01:48.403 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.039) 0:01:48.442 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.039) 0:01:48.482 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.035) 0:01:48.517 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.386) 0:01:48.903 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.044) 0:01:48.948 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.068) 0:01:49.016 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.070) 0:01:49.086 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.043) 0:01:49.130 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.073) 0:01:49.204 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.035) 0:01:49.239 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:11 -0400 (0:00:01.725) 0:01:50.964 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:12 -0400 (0:00:01.453) 0:01:52.418 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.064) 0:01:52.482 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.035) 0:01:52.517 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.033) 0:01:52.550 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.035) 0:01:52.585 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.051) 0:01:52.637 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.049) 0:01:52.686 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.051) 0:01:52.738 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.110) 0:01:52.848 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.050) 0:01:52.899 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.051) 0:01:52.951 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.049) 0:01:53.000 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.578) 0:01:53.579 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:14 -0400 (0:00:00.069) 0:01:53.648 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:14 -0400 (0:00:00.064) 0:01:53.713 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:14 -0400 (0:00:00.076) 0:01:53.790 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:14 -0400 (0:00:00.732) 0:01:54.522 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:14 -0400 (0:00:00.045) 0:01:54.568 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:14 -0400 (0:00:00.045) 0:01:54.614 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1466b240-fee2-4ee0-907d-9c34147675e2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.045) 0:01:54.659 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.036) 0:01:54.695 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.400) 0:01:55.096 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.113) 0:01:55.209 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.122) 0:01:55.332 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.066) 0:01:55.398 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.041) 0:01:55.440 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.035) 0:01:55.475 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:17 -0400 (0:00:01.731) 0:01:57.207 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:19 -0400 (0:00:01.476) 0:01:58.684 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.037) 0:01:58.721 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.064) 0:01:58.786 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.044) 0:01:58.830 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.054) 0:01:58.885 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.048) 0:01:58.934 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.042) 0:01:58.976 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.051) 0:01:59.028 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.071) 0:01:59.100 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.035) 0:01:59.135 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.047) 0:01:59.183 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.052) 0:01:59.235 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.582) 0:01:59.817 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.062) 0:01:59.880 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.059) 0:01:59.940 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.055) 0:01:59.995 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.893) 0:02:00.889 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.062) 0:02:00.952 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.057) 0:02:01.010 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.053) 0:02:01.064 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.041) 0:02:01.105 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.426) 0:02:01.532 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.111) 0:02:01.643 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.088) 0:02:01.731 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.086) 0:02:01.818 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.046) 0:02:01.865 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.035) 0:02:01.900 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.038) 0:02:01.939 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:24 -0400 (0:00:01.861) 0:02:03.800 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:25 -0400 (0:00:01.678) 0:02:05.478 ******* ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.037) 0:02:05.516 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.041) 0:02:05.557 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.049) 0:02:05.607 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.087) 0:02:05.694 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.090) 0:02:05.785 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.103) 0:02:05.888 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.058) 0:02:05.947 ******* skipping: [managed-node2] => { "changed": false, "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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.085) 0:02:06.032 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.041) 0:02:06.074 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.036) 0:02:06.110 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.046) 0:02:06.156 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.719) 0:02:06.876 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.066) 0:02:06.943 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.059) 0:02:07.003 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.047) 0:02:07.050 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.579) 0:02:07.630 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.086) 0:02:07.716 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.050) 0:02:07.767 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.048) 0:02:07.816 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.043) 0:02:07.859 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.435) 0:02:08.294 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.128) 0:02:08.423 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.076) 0:02:08.500 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.056) 0:02:08.557 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.437) 0:02:08.994 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.038) 0:02:09.032 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018633", "end": "2024-10-08 02:09:29.762285", "rc": 1, "start": "2024-10-08 02:09:29.743652" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.445) 0:02:09.478 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.059) 0:02:09.537 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.128) 0:02:09.665 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.044) 0:02:09.710 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.040) 0:02:09.751 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.042) 0:02:09.793 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.040) 0:02:09.833 ******* [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.891268", "end": "2024-10-08 02:09:31.382745", "rc": 0, "start": "2024-10-08 02:09:30.491477" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 08 October 2024 02:09:31 -0400 (0:00:01.285) 0:02:11.119 ******* ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.057) 0:02:11.176 ******* ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.067) 0:02:11.243 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.116) 0:02:11.360 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.135) 0:02:11.496 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.404) 0:02:11.900 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.040) 0:02:11.941 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.036) 0:02:11.978 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.073) 0:02:12.051 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037114", "end": "2024-10-08 02:09:32.744709", "rc": 1, "start": "2024-10-08 02:09:32.707595" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.402) 0:02:12.454 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008343", "end": "2024-10-08 02:09:33.126366", "rc": 0, "start": "2024-10-08 02:09:33.118023" } 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 02:10:d5:e4:b7:8d brd ff:ff:ff:ff:ff:ff inet 10.31.46.15/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2699sec preferred_lft 2699sec inet6 fe80::10:d5ff:fee4:b78d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.15 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.15 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.383) 0:02:12.837 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.182616", "end": "2024-10-08 02:09:33.687220", "rc": 0, "start": "2024-10-08 02:09:33.504604" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe: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 2600:2701:4000:5211:dead:beef:fe:fed3 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 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 3860 0 --:--:-- --:--:-- --:--:-- 3860 % 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 3637 0 --:--:-- --:--:-- --:--:-- 3637 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.545) 0:02:13.383 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.74s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.87s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21