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-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Thursday 03 October 2024 23:57:16 -0400 (0:00:00.044) 0:00:00.044 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Thursday 03 October 2024 23:57:17 -0400 (0:00:01.135) 0:00:01.180 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.090) 0:00:01.271 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.661) 0:00:01.932 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.489) 0:00:02.422 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.040) 0:00:02.463 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.040) 0:00:02.503 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.083) 0:00:02.587 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.422) 0:00:03.010 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.022) 0:00:03.032 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.029) 0:00:03.061 ****** [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.227344", "end": "2024-10-03 23:57:19.639571", "rc": 0, "start": "2024-10-03 23:57:19.412227" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.625) 0:00:03.687 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.025) 0:00:03.712 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.027) 0:00:03.739 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.644) 0:00:04.384 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.017) 0:00:04.401 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.032) 0:00:04.434 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.023) 0:00:04.457 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.063) 0:00:04.521 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.023) 0:00:04.545 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.026) 0:00:04.572 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002727", "end": "2024-10-03 23:57:20.903417", "rc": 0, "start": "2024-10-03 23:57:20.900690" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.375) 0:00:04.948 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.026) 0:00:04.974 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.038) 0:00:05.012 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.055) 0:00:05.067 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007450", "end": "2024-10-03 23:57:21.478269", "rc": 1, "start": "2024-10-03 23:57:21.470819" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.453) 0:00:05.520 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.030) 0:00:05.550 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.363) 0:00:05.914 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.027) 0:00:05.942 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.045) 0:00:05.987 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.119) 0:00:06.107 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.058) 0:00:06.166 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.026) 0:00:06.192 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.040) 0:00:06.233 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.022) 0:00:06.255 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:23 -0400 (0:00:01.717) 0:00:07.973 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:25 -0400 (0:00:01.759) 0:00:09.732 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.045) 0:00:09.778 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.055) 0:00:09.833 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.042) 0:00:09.876 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.037) 0:00:09.913 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.071) 0:00:09.985 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.059) 0:00:10.044 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.051) 0:00:10.095 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.097) 0:00:10.193 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.059) 0:00:10.252 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.058) 0:00:10.311 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.066) 0:00:10.377 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.771) 0:00:11.148 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.041) 0:00:11.190 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.035) 0:00:11.225 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.036) 0:00:11.261 ****** 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, 5f93bd9d-6153-4f60-99a0-ef4faf4971b6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:28 -0400 (0:00:01.134) 0:00:12.396 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.078) 0:00:12.474 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f93bd9d-6153-4f60-99a0-ef4faf4971b6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.064) 0:00:12.539 ****** 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, 5f93bd9d-6153-4f60-99a0-ef4faf4971b6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f93bd9d-6153-4f60-99a0-ef4faf4971b6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.058) 0:00:12.598 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.062) 0:00:12.660 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.569) 0:00:13.230 ****** 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, 5f93bd9d-6153-4f60-99a0-ef4faf4971b6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f93bd9d-6153-4f60-99a0-ef4faf4971b6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.061) 0:00:13.292 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.093) 0:00:13.386 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.068) 0:00:13.454 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.065) 0:00:13.520 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014248.2066514, "block_size": 4096, "blocks": 8, "ctime": 1728014248.2056515, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014248.2056515, "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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.391) 0:00:13.911 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.048) 0:00:13.959 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018369", "end": "2024-10-03 23:57:30.267361", "rc": 0, "start": "2024-10-03 23:57:30.248992" } 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.369) 0:00:14.328 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.067) 0:00:14.396 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.084) 0:00:14.481 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.120) 0:00:14.602 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.076) 0:00:14.678 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.060) 0:00:14.739 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.058) 0:00:14.797 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.060) 0:00:14.858 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.061) 0:00:14.919 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.084) 0:00:15.004 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.096) 0:00:15.100 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014248.2085006, "block_size": 4096, "blocks": 0, "ctime": 1728014248.2085006, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37097, "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": 1728014248.2085006, "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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.408) 0:00:15.509 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.076) 0:00:15.585 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.061) 0:00:15.646 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.103) 0:00:15.750 ****** 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.056407", "end": "2024-10-03 23:57:32.156691", "rc": 1, "start": "2024-10-03 23:57:32.100284" } STDOUT: Connection 'statebr' (5f93bd9d-6153-4f60-99a0-ef4faf4971b6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.494) 0:00:16.244 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.109) 0:00:16.353 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.044) 0:00:16.398 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.083) 0:00:16.482 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.065) 0:00:16.547 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.128) 0:00:16.676 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002807", "end": "2024-10-03 23:57:33.073280", "rc": 0, "start": "2024-10-03 23:57:33.070473" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.474) 0:00:17.150 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.091) 0:00:17.241 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.101) 0:00:17.343 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.093) 0:00:17.436 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005671", "end": "2024-10-03 23:57:33.740988", "rc": 1, "start": "2024-10-03 23:57:33.735317" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.381) 0:00:17.818 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.068) 0:00:17.887 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.381) 0:00:18.269 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.061) 0:00:18.330 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.106) 0:00:18.437 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.155) 0:00:18.592 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.102) 0:00:18.694 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.049) 0:00:18.744 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.040) 0:00:18.784 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.040) 0:00:18.825 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:36 -0400 (0:00:01.579) 0:00:20.404 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:37 -0400 (0:00:01.469) 0:00:21.873 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.056) 0:00:21.930 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.053) 0:00:21.984 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.059) 0:00:22.043 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.064) 0:00:22.108 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.055) 0:00:22.164 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.043) 0:00:22.208 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.060) 0:00:22.268 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.083) 0:00:22.352 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.034) 0:00:22.387 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.034) 0:00:22.421 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.039) 0:00:22.460 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:39 -0400 (0:00:00.590) 0:00:23.051 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:39 -0400 (0:00:00.047) 0:00:23.098 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:39 -0400 (0:00:00.057) 0:00:23.156 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:39 -0400 (0:00:00.070) 0:00:23.226 ****** 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, 6e0210f1-ac1c-4ea9-8ce1-e3db355e503d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:39 -0400 (0:00:00.629) 0:00:23.856 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:39 -0400 (0:00:00.073) 0:00:23.930 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e0210f1-ac1c-4ea9-8ce1-e3db355e503d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.097) 0:00:24.027 ****** 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, 6e0210f1-ac1c-4ea9-8ce1-e3db355e503d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e0210f1-ac1c-4ea9-8ce1-e3db355e503d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.093) 0:00:24.120 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.133) 0:00:24.254 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.504) 0:00:24.758 ****** 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, 6e0210f1-ac1c-4ea9-8ce1-e3db355e503d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e0210f1-ac1c-4ea9-8ce1-e3db355e503d" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.037) 0:00:24.796 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.119) 0:00:24.915 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.057) 0:00:24.973 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.381) 0:00:25.354 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.038) 0:00:25.392 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.065) 0:00:25.458 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.048) 0:00:25.506 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014259.7106938, "block_size": 4096, "blocks": 8, "ctime": 1728014259.7106938, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014259.7106938, "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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.375) 0:00:25.882 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.036) 0:00:25.918 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017832", "end": "2024-10-03 23:57:42.309953", "rc": 0, "start": "2024-10-03 23:57:42.292121" } 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.458) 0:00:26.376 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.039) 0:00:26.416 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.037) 0:00:26.454 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.037) 0:00:26.491 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.099) 0:00:26.591 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.059) 0:00:26.650 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.059) 0:00:26.710 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.058) 0:00:26.768 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.056) 0:00:26.825 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.049) 0:00:26.874 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.055) 0:00:26.930 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.107) 0:00:27.037 ****** 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.036255", "end": "2024-10-03 23:57:43.397006", "rc": 1, "start": "2024-10-03 23:57:43.360751" } STDOUT: Connection 'statebr' (6e0210f1-ac1c-4ea9-8ce1-e3db355e503d) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.434) 0:00:27.472 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.094) 0:00:27.566 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.056) 0:00:27.622 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.107) 0:00:27.730 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.130) 0:00:27.860 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:43 -0400 (0:00:00.090) 0:00:27.951 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002694", "end": "2024-10-03 23:57:44.297783", "rc": 0, "start": "2024-10-03 23:57:44.295089" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.418) 0:00:28.370 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.055) 0:00:28.425 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.038) 0:00:28.464 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.067) 0:00:28.531 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.062) 0:00:28.594 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.079) 0:00:28.674 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.090) 0:00:28.764 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.082) 0:00:28.847 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.078) 0:00:28.925 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:46 -0400 (0:00:01.645) 0:00:30.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 : Print network provider] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:48 -0400 (0:00:01.713) 0:00:32.284 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.041) 0:00:32.326 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.038) 0:00:32.364 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.042) 0:00:32.407 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.065) 0:00:32.472 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.050) 0:00:32.523 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.034) 0:00:32.557 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.040) 0:00:32.597 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.068) 0:00:32.666 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.034) 0:00:32.700 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.033) 0:00:32.734 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.044) 0:00:32.779 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.592) 0:00:33.371 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.041) 0:00:33.413 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.039) 0:00:33.453 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.046) 0:00:33.499 ****** 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, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.636) 0:00:34.136 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.040) 0:00:34.176 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.088) 0:00:34.265 ****** 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, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.063) 0:00:34.328 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.053) 0:00:34.382 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.431) 0:00:34.813 ****** 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, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.061) 0:00:34.874 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.105) 0:00:34.980 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.081) 0:00:35.062 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.085) 0:00:35.147 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.044) 0:00:35.191 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.033) 0:00:35.224 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.034) 0:00:35.259 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:52 -0400 (0:00:01.509) 0:00:36.768 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:54 -0400 (0:00:01.444) 0:00:38.213 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.050) 0:00:38.263 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.066) 0:00:38.329 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.042) 0:00:38.372 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.039) 0:00:38.412 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.081) 0:00:38.493 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.037) 0:00:38.530 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.066) 0:00:38.597 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.118) 0:00:38.716 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.077) 0:00:38.793 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.072) 0:00:38.866 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.075) 0:00:38.941 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:55 -0400 (0:00:00.570) 0:00:39.512 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:55 -0400 (0:00:00.067) 0:00:39.579 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:55 -0400 (0:00:00.053) 0:00:39.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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:55 -0400 (0:00:00.053) 0:00:39.687 ****** 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, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.582) 0:00:40.269 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.040) 0:00:40.310 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.044) 0:00:40.354 ****** 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, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 02a336d3-6b1a-4e5f-b4aa-fa3a9332b657 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.070) 0:00:40.425 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.033) 0:00:40.458 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.361) 0:00:40.820 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.117) 0:00:40.938 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.108) 0:00:41.047 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014270.0237706, "block_size": 4096, "blocks": 0, "ctime": 1728014270.0237706, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37228, "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": 1728014270.0237706, "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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.453) 0:00:41.500 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.061) 0:00:41.561 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.111) 0:00:41.673 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.068) 0:00:41.741 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014270.072732, "block_size": 4096, "blocks": 8, "ctime": 1728014270.0217319, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014270.0217319, "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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.398) 0:00:42.140 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.106) 0:00:42.247 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017534", "end": "2024-10-03 23:57:58.600632", "rc": 0, "start": "2024-10-03 23:57:58.583098" } 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.434) 0:00:42.682 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.054) 0:00:42.736 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.038) 0:00:42.774 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.038) 0:00:42.813 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.039) 0:00:42.853 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.046) 0:00:42.899 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.049) 0:00:42.949 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.070) 0:00:43.019 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.079) 0:00:43.099 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.058) 0:00:43.157 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.058) 0:00:43.216 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.139) 0:00:43.356 ****** 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.056693", "end": "2024-10-03 23:57:59.759612", "rc": 1, "start": "2024-10-03 23:57:59.702919" } STDOUT: Connection 'statebr' (02a336d3-6b1a-4e5f-b4aa-fa3a9332b657) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.483) 0:00:43.840 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.160) 0:00:44.001 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.097) 0:00:44.098 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.143) 0:00:44.241 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.094) 0:00:44.336 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.093) 0:00:44.430 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002829", "end": "2024-10-03 23:58:00.853099", "rc": 0, "start": "2024-10-03 23:58:00.850270" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.486) 0:00:44.917 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.057) 0:00:44.974 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.038) 0:00:45.013 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.068) 0:00:45.082 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.059) 0:00:45.141 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.122) 0:00:45.264 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.061) 0:00:45.325 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.039) 0:00:45.364 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.041) 0:00:45.405 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:02 -0400 (0:00:01.525) 0:00:46.931 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:04 -0400 (0:00:01.486) 0:00:48.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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.060) 0:00:48.479 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.053) 0:00:48.532 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.039) 0:00:48.572 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.042) 0:00:48.614 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.054) 0:00:48.669 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.039) 0:00:48.708 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.040) 0:00:48.748 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.070) 0:00:48.818 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.033) 0:00:48.852 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.034) 0:00:48.887 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.039) 0:00:48.927 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.594) 0:00:49.522 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.071) 0:00:49.593 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.095) 0:00:49.689 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.042) 0:00:49.731 ****** 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, 57ca28e3-807b-48eb-9c5f-65e24483f194 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.562) 0:00:50.293 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.041) 0:00:50.335 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57ca28e3-807b-48eb-9c5f-65e24483f194" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.046) 0:00:50.381 ****** 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, 57ca28e3-807b-48eb-9c5f-65e24483f194\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57ca28e3-807b-48eb-9c5f-65e24483f194" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.040) 0:00:50.422 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.034) 0:00:50.457 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.384) 0:00:50.842 ****** 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, 57ca28e3-807b-48eb-9c5f-65e24483f194\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57ca28e3-807b-48eb-9c5f-65e24483f194" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.074) 0:00:50.916 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.187) 0:00:51.103 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.152) 0:00:51.255 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.127) 0:00:51.383 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.057) 0:00:51.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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.053) 0:00:51.494 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:09 -0400 (0:00:01.547) 0:00:53.042 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:10 -0400 (0:00:01.466) 0:00:54.508 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.059) 0:00:54.567 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.058) 0:00:54.626 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.055) 0:00:54.682 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.056) 0:00:54.739 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.065) 0:00:54.805 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.056) 0:00:54.861 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.068) 0:00:54.929 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.104) 0:00:55.033 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.053) 0:00:55.087 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.055) 0:00:55.143 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.061) 0:00:55.204 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.580) 0:00:55.784 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.046) 0:00:55.831 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.086) 0:00:55.917 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.041) 0:00:55.959 ****** 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, 57ca28e3-807b-48eb-9c5f-65e24483f194 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.520) 0:00:56.479 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.041) 0:00:56.521 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 57ca28e3-807b-48eb-9c5f-65e24483f194 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.039) 0:00:56.560 ****** 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, 57ca28e3-807b-48eb-9c5f-65e24483f194 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 57ca28e3-807b-48eb-9c5f-65e24483f194 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.037) 0:00:56.598 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.036) 0:00:56.634 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.337) 0:00:56.972 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.083) 0:00:57.055 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.106) 0:00:57.162 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.177) 0:00:57.340 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.097) 0:00:57.437 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.085) 0:00:57.523 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.070) 0:00:57.594 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:15 -0400 (0:00:01.573) 0:00:59.167 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:16 -0400 (0:00:01.446) 0:01:00.613 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.037) 0:01:00.650 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.035) 0:01:00.685 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.038) 0:01:00.724 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.044) 0:01:00.768 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.071) 0:01:00.839 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.048) 0:01:00.888 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.046) 0:01:00.934 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:17 -0400 (0:00:00.083) 0:01:01.017 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:17 -0400 (0:00:00.036) 0:01:01.054 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:17 -0400 (0:00:00.034) 0:01:01.088 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:17 -0400 (0:00:00.038) 0:01:01.127 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:17 -0400 (0:00:00.722) 0:01:01.850 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:17 -0400 (0:00:00.119) 0:01:01.969 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.121) 0:01:02.091 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.057) 0:01:02.148 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.732) 0:01:02.880 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.052) 0:01:02.933 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.064) 0:01:02.998 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.061) 0:01:03.059 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.044) 0:01:03.104 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.425) 0:01:03.530 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.110) 0:01:03.640 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.081) 0:01:03.722 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014286.1829119, "block_size": 4096, "blocks": 0, "ctime": 1728014286.1829119, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37359, "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": 1728014286.1829119, "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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.406) 0:01:04.128 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.061) 0:01:04.189 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.133) 0:01:04.323 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.041) 0:01:04.364 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.388) 0:01:04.752 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.066) 0:01:04.819 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018133", "end": "2024-10-03 23:58:21.499481", "rc": 1, "start": "2024-10-03 23:58:21.481348" } 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.785) 0:01:05.604 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.042) 0:01:05.647 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.061) 0:01:05.708 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.060) 0:01:05.769 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.059) 0:01:05.829 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.063) 0:01:05.892 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.048) 0:01:05.941 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.038) 0:01:05.979 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.043) 0:01:06.022 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.083) 0:01:06.106 ****** 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.065382", "end": "2024-10-03 23:58:22.479566", "rc": 1, "start": "2024-10-03 23:58:22.414184" } STDOUT: Connection 'statebr' (57ca28e3-807b-48eb-9c5f-65e24483f194) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.430) 0:01:06.536 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.082) 0:01:06.619 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.063) 0:01:06.682 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.085) 0:01:06.767 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.085) 0:01:06.853 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.066) 0:01:06.919 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002939", "end": "2024-10-03 23:58:23.228207", "rc": 0, "start": "2024-10-03 23:58:23.225268" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.394) 0:01:07.314 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.063) 0:01:07.377 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.042) 0:01:07.419 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.108) 0:01:07.528 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.058) 0:01:07.587 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.094) 0:01:07.681 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.061) 0:01:07.743 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.051) 0:01:07.794 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.053) 0:01:07.847 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:25 -0400 (0:00:01.575) 0:01:09.423 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:26 -0400 (0:00:01.443) 0:01:10.867 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:26 -0400 (0:00:00.037) 0:01:10.904 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:26 -0400 (0:00:00.037) 0:01:10.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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.059) 0:01:11.002 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.054) 0:01:11.057 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.062) 0:01:11.120 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.061) 0:01:11.181 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.075) 0:01:11.257 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.087) 0:01:11.344 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.041) 0:01:11.386 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.043) 0:01:11.429 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.046) 0:01:11.476 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.581) 0:01: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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.050) 0:01:12.107 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.056) 0:01:12.164 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.054) 0:01:12.218 ****** 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, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.625) 0:01:12.844 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.035) 0:01:12.879 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.036) 0:01:12.916 ****** 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, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.037) 0:01:12.953 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.040) 0:01:12.993 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.423) 0:01:13.417 ****** 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, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.046) 0:01:13.463 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.103) 0:01:13.567 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.073) 0:01:13.640 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.042) 0:01:13.683 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.034) 0:01:13.718 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.035) 0:01:13.753 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:31 -0400 (0:00:01.568) 0:01:15.321 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:32 -0400 (0:00:01.399) 0:01:16.721 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.037) 0:01:16.758 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.038) 0:01:16.797 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.041) 0:01:16.838 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.058) 0:01:16.897 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.062) 0:01:16.959 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.054) 0:01:17.014 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.047) 0:01:17.061 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.084) 0:01:17.146 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.038) 0:01:17.184 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.034) 0:01:17.219 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.051) 0:01:17.270 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.756) 0:01:18.027 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.188) 0:01:18.215 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.121) 0:01:18.336 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.067) 0:01:18.404 ****** 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, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.558) 0:01:18.962 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.045) 0:01:19.008 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.058) 0:01:19.066 ****** 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, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aca123eb-128f-4bcd-aea7-2f0a39bcb8bc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.052) 0:01:19.119 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.039) 0:01:19.158 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.374) 0:01:19.533 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.083) 0:01:19.617 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.083) 0:01:19.700 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.049) 0:01:19.749 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.065) 0:01:19.815 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.035) 0:01:19.850 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:37 -0400 (0:00:01.582) 0:01:21.432 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:38 -0400 (0:00:01.429) 0:01:22.862 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.063) 0:01:22.926 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.035) 0:01:22.961 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.033) 0:01:22.995 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.034) 0:01:23.029 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.041) 0:01:23.071 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.033) 0:01:23.105 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.042) 0:01:23.147 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.069) 0:01:23.216 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.034) 0:01:23.251 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.035) 0:01:23.286 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.041) 0:01:23.327 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.511) 0:01:23.839 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.055) 0:01:23.895 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.046) 0:01:23.941 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.104) 0:01:24.046 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.625) 0:01:24.671 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.060) 0:01:24.732 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.046) 0:01:24.778 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.045) 0:01:24.824 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.042) 0:01:24.867 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.354) 0:01:25.222 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.101) 0:01:25.324 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.089) 0:01:25.413 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.087) 0:01:25.501 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.050) 0:01:25.551 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.066) 0:01:25.617 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.035) 0:01:25.653 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:43 -0400 (0:00:01.647) 0:01:27.300 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:44 -0400 (0:00:01.497) 0:01:28.798 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.037) 0:01:28.835 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.035) 0:01:28.871 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.035) 0:01:28.907 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.033) 0:01:28.940 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.042) 0:01:28.983 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.038) 0:01:29.022 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.044) 0:01:29.066 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.100) 0:01:29.167 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.040) 0:01:29.207 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.039) 0:01:29.247 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.051) 0:01:29.298 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.509) 0:01:29.808 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.041) 0:01:29.850 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.034) 0:01:29.884 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.069) 0:01:29.953 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.577) 0:01:30.531 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.048) 0:01:30.580 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.057) 0:01:30.637 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.062) 0:01:30.700 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.075) 0:01:30.775 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.573) 0:01:31.349 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.151) 0:01:31.500 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.110) 0:01:31.611 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.061) 0:01:31.672 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.408) 0:01:32.081 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.072) 0:01:32.153 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017277", "end": "2024-10-03 23:58:48.494716", "rc": 1, "start": "2024-10-03 23:58:48.477439" } 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.396) 0:01:32.550 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.046) 0:01:32.596 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.070) 0:01:32.666 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.129) 0:01:32.796 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.103) 0:01:32.899 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.065) 0:01:32.965 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.071) 0:01:33.036 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.109) 0:01:33.145 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.104) 0:01:33.250 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.394) 0:01:33.644 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.059) 0:01:33.703 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.053) 0:01:33.756 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.241) 0:01:33.998 ****** 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.035799", "end": "2024-10-03 23:58:50.380447", "rc": 1, "start": "2024-10-03 23:58:50.344648" } 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.464) 0:01:34.463 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.105) 0:01:34.568 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.095) 0:01:34.663 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.149) 0:01:34.813 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.112) 0:01:34.925 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.113) 0:01:35.039 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003204", "end": "2024-10-03 23:58:51.364732", "rc": 0, "start": "2024-10-03 23:58:51.361528" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.383) 0:01:35.423 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.046) 0:01:35.470 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.059) 0:01:35.530 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.133) 0:01:35.663 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.069) 0:01:35.733 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.075) 0:01:35.808 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.044) 0:01:35.852 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.035) 0:01:35.888 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.035) 0:01:35.924 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:53 -0400 (0:00:01.580) 0:01:37.504 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:54 -0400 (0:00:01.434) 0:01:38.939 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:54 -0400 (0:00:00.037) 0:01:38.976 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.036) 0:01:39.013 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.041) 0:01:39.054 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.052) 0:01:39.107 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.061) 0:01:39.168 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.040) 0:01:39.208 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.050) 0:01:39.258 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.078) 0:01:39.337 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.035) 0:01:39.373 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.075) 0:01:39.449 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.054) 0:01:39.503 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:56 -0400 (0:00:00.585) 0:01:40.089 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:56 -0400 (0:00:00.130) 0:01:40.219 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:56 -0400 (0:00:00.110) 0:01:40.330 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:56 -0400 (0:00:00.132) 0:01:40.462 ****** 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, 33037f83-9587-4b30-a64e-75e0a766ba3d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.800) 0:01:41.263 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.084) 0:01:41.348 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33037f83-9587-4b30-a64e-75e0a766ba3d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.058) 0:01:41.407 ****** 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, 33037f83-9587-4b30-a64e-75e0a766ba3d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33037f83-9587-4b30-a64e-75e0a766ba3d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.048) 0:01:41.455 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.038) 0:01:41.493 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.391) 0:01:41.885 ****** 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, 33037f83-9587-4b30-a64e-75e0a766ba3d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33037f83-9587-4b30-a64e-75e0a766ba3d" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.075) 0:01:41.961 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.139) 0:01:42.100 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.105) 0:01:42.206 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.048) 0:01:42.254 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.035) 0:01:42.289 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.035) 0:01:42.325 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:59 -0400 (0:00:01.598) 0:01:43.924 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:59:01 -0400 (0:00:01.482) 0:01:45.407 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.037) 0:01:45.445 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.033) 0:01:45.478 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.035) 0:01:45.514 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.036) 0:01:45.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.041) 0:01:45.592 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.034) 0:01:45.627 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.039) 0:01:45.666 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.069) 0:01:45.736 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.034) 0:01:45.771 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.040) 0:01:45.811 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.049) 0:01:45.861 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.632) 0:01:46.493 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.066) 0:01:46.560 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.056) 0:01:46.617 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.057) 0:01:46.674 ****** 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, 33037f83-9587-4b30-a64e-75e0a766ba3d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:59:03 -0400 (0:00:00.612) 0:01:47.287 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:59:03 -0400 (0:00:00.051) 0:01:47.338 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 33037f83-9587-4b30-a64e-75e0a766ba3d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:59:03 -0400 (0:00:00.042) 0:01:47.381 ****** 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, 33037f83-9587-4b30-a64e-75e0a766ba3d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 33037f83-9587-4b30-a64e-75e0a766ba3d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:59:03 -0400 (0:00:00.042) 0:01:47.423 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:59:03 -0400 (0:00:00.046) 0:01:47.470 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:59:03 -0400 (0:00:00.379) 0:01:47.850 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:59:03 -0400 (0:00:00.062) 0:01:47.912 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:59:04 -0400 (0:00:00.117) 0:01:48.031 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:59:04 -0400 (0:00:00.064) 0:01:48.095 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:59:04 -0400 (0:00:00.041) 0:01:48.137 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:59:04 -0400 (0:00:00.040) 0:01:48.178 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:59:05 -0400 (0:00:01.571) 0:01:49.750 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:59:07 -0400 (0:00:01.392) 0:01:51.142 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.039) 0:01:51.181 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.039) 0:01:51.220 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.054) 0:01:51.275 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.057) 0:01:51.332 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.065) 0:01:51.398 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.064) 0:01:51.463 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.067) 0:01:51.530 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.080) 0:01:51.610 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.043) 0:01:51.654 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.040) 0:01:51.694 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.044) 0:01:51.739 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:59:08 -0400 (0:00:00.553) 0:01:52.293 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:59:08 -0400 (0:00:00.042) 0:01:52.335 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:59:08 -0400 (0:00:00.034) 0:01:52.370 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:59:08 -0400 (0:00:00.034) 0:01:52.404 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.589) 0:01:52.994 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.041) 0:01:53.036 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.044) 0:01:53.080 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.042) 0:01:53.123 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.034) 0:01:53.157 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.342) 0:01:53.500 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.075) 0:01:53.576 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.090) 0:01:53.666 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.069) 0:01:53.735 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.042) 0:01:53.778 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.034) 0:01:53.813 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.034) 0:01:53.847 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:59:11 -0400 (0:00:01.530) 0:01:55.377 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:59:12 -0400 (0:00:01.430) 0:01:56.808 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:59:12 -0400 (0:00:00.045) 0:01:56.854 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:59:12 -0400 (0:00:00.035) 0:01:56.889 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:59:12 -0400 (0:00:00.033) 0:01:56.922 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:59:12 -0400 (0:00:00.034) 0:01:56.956 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.041) 0:01:56.997 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.033) 0:01:57.031 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.051) 0:01:57.083 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.108) 0:01:57.192 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.056) 0:01:57.248 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.054) 0:01:57.302 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.052) 0:01:57.355 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.578) 0:01:57.933 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.065) 0:01:57.999 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.047) 0:01:58.047 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.043) 0:01:58.090 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.524) 0:01:58.615 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.035) 0:01:58.650 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.043) 0:01:58.694 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.040) 0:01:58.734 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.034) 0:01:58.768 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:59:15 -0400 (0:00:00.340) 0:01:59.109 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:59:15 -0400 (0:00:00.105) 0:01:59.215 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:59:15 -0400 (0:00:00.061) 0:01:59.277 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:59:15 -0400 (0:00:00.036) 0:01:59.313 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:59:15 -0400 (0:00:00.368) 0:01:59.681 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:59:15 -0400 (0:00:00.064) 0:01:59.745 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017760", "end": "2024-10-03 23:59:16.087216", "rc": 1, "start": "2024-10-03 23:59:16.069456" } 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:59:16 -0400 (0:00:00.398) 0:02:00.144 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:59:16 -0400 (0:00:00.038) 0:02:00.182 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:59:16 -0400 (0:00:00.036) 0:02:00.219 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:59:16 -0400 (0:00:00.039) 0:02:00.258 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:59:16 -0400 (0:00:00.035) 0:02:00.294 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:59:16 -0400 (0:00:00.034) 0:02:00.328 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 03 October 2024 23:59:16 -0400 (0:00:00.041) 0:02:00.370 ****** [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.854220", "end": "2024-10-03 23:59:17.529529", "rc": 0, "start": "2024-10-03 23:59:16.675309" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 03 October 2024 23:59:17 -0400 (0:00:01.242) 0:02:01.613 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 03 October 2024 23:59:17 -0400 (0:00:00.063) 0:02:01.676 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:59:17 -0400 (0:00:00.056) 0:02:01.733 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:59:17 -0400 (0:00:00.127) 0:02:01.860 ****** included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:59:17 -0400 (0:00:00.099) 0:02:01.960 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:59:18 -0400 (0:00:00.420) 0:02:02.380 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:59:18 -0400 (0:00:00.046) 0:02:02.427 ****** 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:59:18 -0400 (0:00:00.042) 0:02:02.470 ****** included: /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:59:18 -0400 (0:00:00.090) 0:02:02.560 ****** 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.035686", "end": "2024-10-03 23:59:18.902435", "rc": 1, "start": "2024-10-03 23:59:18.866749" } 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 03 October 2024 23:59:19 -0400 (0:00:00.435) 0:02:02.995 ****** 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.008373", "end": "2024-10-03 23:59:19.438506", "rc": 0, "start": "2024-10-03 23:59:19.430133" } 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:6d:13:7e:24:55 brd ff:ff:ff:ff:ff:ff inet 10.31.46.109/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2736sec preferred_lft 2736sec inet6 fe80::6d:13ff:fe7e:2455/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.109 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.109 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-1aW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 03 October 2024 23:59:19 -0400 (0:00:00.515) 0:02:03.511 ****** 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.434165", "end": "2024-10-03 23:59:20.321898", "rc": 0, "start": "2024-10-03 23:59:19.887733" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1445 0 --:--:-- --:--:-- --:--:-- 1438 % 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 1462 0 --:--:-- --:--:-- --:--:-- 1462 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Thursday 03 October 2024 23:59:20 -0400 (0:00:00.898) 0:02:04.410 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-1aW/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-1aW/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-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-1aW/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26