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-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.037) 0:00:00.037 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 30 November 2024 07:56:00 -0500 (0:00:01.045) 0:00:01.083 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.052) 0:00:01.136 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.727) 0:00:01.863 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.893) 0:00:02.757 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.082) 0:00:02.839 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.062) 0:00:02.902 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.104) 0:00:03.007 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.500) 0:00:03.508 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.028) 0:00:03.536 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.021) 0:00:03.558 ***** [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.252943", "end": "2024-11-30 07:56:03.150207", "rc": 0, "start": "2024-11-30 07:56:02.897264" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.656) 0:00:04.215 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.022) 0:00:04.237 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.025) 0:00:04.263 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.855) 0:00:05.118 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.040) 0:00:05.158 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.072) 0:00:05.231 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.034) 0:00:05.265 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.146) 0:00:05.412 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.107) 0:00:05.519 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.053) 0:00:05.572 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003045", "end": "2024-11-30 07:56:04.937862", "rc": 0, "start": "2024-11-30 07:56:04.934817" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.460) 0:00:06.033 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.028) 0:00:06.062 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.035) 0:00:06.097 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.061) 0:00:06.159 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007528", "end": "2024-11-30 07:56:05.479510", "rc": 1, "start": "2024-11-30 07:56:05.471982" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.384) 0:00:06.543 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.029) 0:00:06.573 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.373) 0:00:06.946 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.024) 0:00:06.971 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.038) 0:00:07.009 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.121) 0:00:07.131 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.044) 0:00:07.176 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.022) 0:00:07.198 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.021) 0:00:07.219 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.020) 0:00:07.240 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:08 -0500 (0:00:01.834) 0:00:09.074 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:09 -0500 (0:00:01.816) 0:00:10.891 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.044) 0:00:10.935 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.041) 0:00:10.976 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.042) 0:00:11.019 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.049) 0:00:11.068 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.077) 0:00:11.146 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.052) 0:00:11.199 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.055) 0:00:11.254 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.106) 0:00:11.361 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.042) 0:00:11.404 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.042) 0:00:11.447 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.066) 0:00:11.514 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:11 -0500 (0:00:01.260) 0:00:12.774 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.112) 0:00:12.887 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.105) 0:00:12.993 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.150) 0:00:13.143 ***** 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, 61d84951-0296-4ae4-a01d-fa1a08747262 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:13 -0500 (0:00:01.074) 0:00:14.218 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.047) 0:00:14.266 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61d84951-0296-4ae4-a01d-fa1a08747262" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.057) 0:00:14.323 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61d84951-0296-4ae4-a01d-fa1a08747262\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61d84951-0296-4ae4-a01d-fa1a08747262" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.055) 0:00:14.378 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.049) 0:00:14.428 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.785) 0:00:15.214 ***** 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, 61d84951-0296-4ae4-a01d-fa1a08747262\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61d84951-0296-4ae4-a01d-fa1a08747262" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.051) 0:00:15.265 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.093) 0:00:15.358 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.076) 0:00:15.435 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.077) 0:00:15.513 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732971373.0917056, "block_size": 4096, "blocks": 8, "ctime": 1732971373.0437045, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971373.0437045, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.460) 0:00:15.973 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.082) 0:00:16.056 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018917", "end": "2024-11-30 07:56:15.513357", "rc": 0, "start": "2024-11-30 07:56:15.494440" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.543) 0:00:16.599 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.058) 0:00:16.658 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.086) 0:00:16.744 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.105) 0:00:16.850 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.114) 0:00:16.964 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.079) 0:00:17.043 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.098) 0:00:17.142 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.066) 0:00:17.209 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.062) 0:00:17.272 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.100) 0:00:17.372 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.123) 0:00:17.496 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732971373.045462, "block_size": 4096, "blocks": 0, "ctime": 1732971373.045462, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36734, "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": 1732971373.045462, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:56:17 -0500 (0:00:00.734) 0:00:18.231 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:17 -0500 (0:00:00.115) 0:00:18.347 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:17 -0500 (0:00:00.094) 0:00:18.442 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:17 -0500 (0:00:00.138) 0:00:18.580 ***** 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.057543", "end": "2024-11-30 07:56:17.954874", "rc": 1, "start": "2024-11-30 07:56:17.897331" } STDOUT: Connection 'statebr' (61d84951-0296-4ae4-a01d-fa1a08747262) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.491) 0:00:19.072 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.129) 0:00:19.201 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.083) 0:00:19.284 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.146) 0:00:19.430 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.098) 0:00:19.529 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.081) 0:00:19.611 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002921", "end": "2024-11-30 07:56:18.930382", "rc": 0, "start": "2024-11-30 07:56:18.927461" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.429) 0:00:20.040 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.077) 0:00:20.117 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.070) 0:00:20.187 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.179) 0:00:20.367 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005397", "end": "2024-11-30 07:56:19.753122", "rc": 1, "start": "2024-11-30 07:56:19.747725" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.484) 0:00:20.851 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.088) 0:00:20.940 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.389) 0:00:21.329 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.045) 0:00:21.375 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.079) 0:00:21.454 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.133) 0:00:21.588 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.085) 0:00:21.673 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.051) 0:00:21.725 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.043) 0:00:21.769 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.043) 0:00:21.812 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:22 -0500 (0:00:01.665) 0:00:23.478 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:24 -0500 (0:00:01.660) 0:00:25.139 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.076) 0:00:25.215 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.078) 0:00:25.293 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.069) 0:00:25.363 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.068) 0:00:25.431 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.084) 0:00:25.516 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.087) 0:00:25.603 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.105) 0:00:25.708 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.205) 0:00:25.914 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.088) 0:00:26.002 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.062) 0:00:26.064 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.068) 0:00:26.132 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.640) 0:00:26.772 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.142) 0:00:26.915 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.070) 0:00:26.985 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.070) 0:00:27.056 ***** 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, 042a077a-4e93-465a-8422-261d194356db TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.694) 0:00:27.750 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.048) 0:00:27.799 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042a077a-4e93-465a-8422-261d194356db" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.083) 0:00:27.883 ***** 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, 042a077a-4e93-465a-8422-261d194356db\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042a077a-4e93-465a-8422-261d194356db" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.084) 0:00:27.968 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.072) 0:00:28.040 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.433) 0:00:28.474 ***** 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, 042a077a-4e93-465a-8422-261d194356db\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 042a077a-4e93-465a-8422-261d194356db" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.052) 0:00:28.526 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.149) 0:00:28.675 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.116) 0:00:28.792 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.531) 0:00:29.323 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.054) 0:00:29.377 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.077) 0:00:29.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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.043) 0:00:29.498 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732971386.650991, "block_size": 4096, "blocks": 8, "ctime": 1732971386.650991, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971386.650991, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.391) 0:00:29.890 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.045) 0:00:29.935 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019298", "end": "2024-11-30 07:56:29.266663", "rc": 0, "start": "2024-11-30 07:56:29.247365" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.416) 0:00:30.352 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.047) 0:00:30.399 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.051) 0:00:30.451 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.046) 0:00:30.497 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.054) 0:00:30.552 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.058) 0:00:30.611 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.122) 0:00:30.734 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.074) 0:00:30.808 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.077) 0:00:30.886 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.070) 0:00:30.956 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.115) 0:00:31.072 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.151) 0:00:31.223 ***** 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.038581", "end": "2024-11-30 07:56:30.721569", "rc": 1, "start": "2024-11-30 07:56:30.682988" } STDOUT: Connection 'statebr' (042a077a-4e93-465a-8422-261d194356db) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.595) 0:00:31.819 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.096) 0:00:31.915 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.043) 0:00:31.958 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.090) 0:00:32.049 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.084) 0:00:32.133 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.107) 0:00:32.240 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003134", "end": "2024-11-30 07:56:31.593043", "rc": 0, "start": "2024-11-30 07:56:31.589909" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.446) 0:00:32.686 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.055) 0:00:32.742 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.048) 0:00:32.791 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.096) 0:00:32.887 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.129) 0:00:33.016 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.187) 0:00:33.204 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.132) 0:00:33.337 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.113) 0:00:33.450 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.091) 0:00:33.542 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:34 -0500 (0:00:01.884) 0:00:35.427 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:36 -0500 (0:00:01.728) 0:00:37.155 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.071) 0:00:37.226 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.086) 0:00:37.312 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.077) 0:00:37.390 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.116) 0:00:37.506 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.099) 0:00:37.606 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.145) 0:00:37.751 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.095) 0:00:37.847 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.121) 0:00:37.968 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.053) 0:00:38.022 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.053) 0:00:38.076 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.056) 0:00:38.133 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.596) 0:00:38.729 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.051) 0:00:38.781 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.042) 0:00:38.823 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.043) 0:00:38.867 ***** 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, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.667) 0:00:39.535 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.091) 0:00:39.627 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.071) 0:00:39.699 ***** 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, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.128) 0:00:39.827 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.096) 0:00:39.924 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.545) 0:00:40.470 ***** 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, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.045) 0:00:40.515 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.096) 0:00:40.612 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.087) 0:00:40.700 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.112) 0:00:40.812 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.085) 0:00:40.898 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.067) 0:00:40.965 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.066) 0:00:41.032 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:41 -0500 (0:00:01.780) 0:00:42.812 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:43 -0500 (0:00:01.648) 0:00:44.461 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.079) 0:00:44.540 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.106) 0:00:44.647 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.113) 0:00:44.761 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.096) 0:00:44.858 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.098) 0:00:44.956 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.069) 0:00:45.026 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.124) 0:00:45.150 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.111) 0:00:45.262 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.049) 0:00:45.312 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.050) 0:00:45.363 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.074) 0:00:45.437 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.692) 0:00:46.129 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.084) 0:00:46.213 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.075) 0:00:46.289 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.080) 0:00:46.370 ***** 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, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.813) 0:00:47.183 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.079) 0:00:47.262 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.080) 0:00:47.343 ***** 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, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 156bc0e2-9af4-4c1d-8e0e-e5c057e2d145 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.100) 0:00:47.443 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.085) 0:00:47.528 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.580) 0:00:48.109 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.194) 0:00:48.303 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.120) 0:00:48.424 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732971398.3449547, "block_size": 4096, "blocks": 0, "ctime": 1732971398.3449547, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36865, "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": 1732971398.3449547, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.489) 0:00:48.913 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.059) 0:00:48.973 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.080) 0:00:49.053 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.043) 0:00:49.097 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732971398.4022384, "block_size": 4096, "blocks": 8, "ctime": 1732971398.343237, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971398.343237, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.515) 0:00:49.612 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.073) 0:00:49.686 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019521", "end": "2024-11-30 07:56:49.041479", "rc": 0, "start": "2024-11-30 07:56:49.021958" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.442) 0:00:50.129 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.175) 0:00:50.304 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.106) 0:00:50.411 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.099) 0:00:50.510 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.076) 0:00:50.587 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.076) 0:00:50.664 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.086) 0:00:50.750 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.086) 0:00:50.837 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.092) 0:00:50.929 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:50 -0500 (0:00:00.086) 0:00:51.015 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:50 -0500 (0:00:00.097) 0:00:51.113 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:50 -0500 (0:00:00.158) 0:00:51.272 ***** 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.068127", "end": "2024-11-30 07:56:50.775636", "rc": 1, "start": "2024-11-30 07:56:50.707509" } STDOUT: Connection 'statebr' (156bc0e2-9af4-4c1d-8e0e-e5c057e2d145) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 30 November 2024 07:56:50 -0500 (0:00:00.595) 0:00:51.867 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:50 -0500 (0:00:00.123) 0:00:51.991 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:51 -0500 (0:00:00.092) 0:00:52.083 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:51 -0500 (0:00:00.121) 0:00:52.205 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:51 -0500 (0:00:00.071) 0:00:52.276 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:51 -0500 (0:00:00.067) 0:00:52.344 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004119", "end": "2024-11-30 07:56:52.654308", "rc": 0, "start": "2024-11-30 07:56:51.650189" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:52 -0500 (0:00:01.399) 0:00:53.743 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:52 -0500 (0:00:00.049) 0:00:53.793 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:52 -0500 (0:00:00.053) 0:00:53.847 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:56:52 -0500 (0:00:00.090) 0:00:53.938 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.103) 0:00:54.042 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.117) 0:00:54.160 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.114) 0:00:54.275 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.059) 0:00:54.334 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.045) 0:00:54.380 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:55 -0500 (0:00:01.694) 0:00:56.074 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:56 -0500 (0:00:01.680) 0:00:57.755 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.085) 0:00:57.841 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.073) 0:00:57.915 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.095) 0:00:58.010 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.087) 0:00:58.098 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.098) 0:00:58.196 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.070) 0:00:58.267 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.072) 0:00:58.339 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.175) 0:00:58.514 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.075) 0:00:58.590 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.073) 0:00:58.664 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.082) 0:00:58.746 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:58 -0500 (0:00:00.631) 0:00:59.378 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:58 -0500 (0:00:00.051) 0:00:59.429 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:58 -0500 (0:00:00.088) 0:00:59.518 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:58 -0500 (0:00:00.042) 0:00:59.561 ***** 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, 49e9bbbc-436e-4811-8914-5dd788231913 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.658) 0:01:00.220 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.067) 0:01:00.288 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49e9bbbc-436e-4811-8914-5dd788231913" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.083) 0:01:00.371 ***** 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, 49e9bbbc-436e-4811-8914-5dd788231913\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49e9bbbc-436e-4811-8914-5dd788231913" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.066) 0:01:00.438 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.043) 0:01:00.482 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.410) 0:01:00.892 ***** 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, 49e9bbbc-436e-4811-8914-5dd788231913\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49e9bbbc-436e-4811-8914-5dd788231913" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.053) 0:01:00.946 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.088) 0:01:01.034 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.084) 0:01:01.118 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.088) 0:01:01.207 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.043) 0:01:01.251 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.042) 0:01:01.293 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:02 -0500 (0:00:01.720) 0:01:03.014 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:03 -0500 (0:00:01.617) 0:01:04.631 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.055) 0:01:04.687 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.043) 0:01:04.730 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.043) 0:01:04.774 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.042) 0:01:04.816 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.056) 0:01:04.872 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.044) 0:01:04.917 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.050) 0:01:04.968 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.129) 0:01:05.097 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.069) 0:01:05.167 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.066) 0:01:05.233 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.078) 0:01:05.312 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.657) 0:01:05.970 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.081) 0:01:06.051 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.123) 0:01:06.174 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.071) 0:01:06.246 ***** 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, 49e9bbbc-436e-4811-8914-5dd788231913 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.613) 0:01:06.859 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.043) 0:01:06.902 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 49e9bbbc-436e-4811-8914-5dd788231913 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.047) 0:01:06.950 ***** 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, 49e9bbbc-436e-4811-8914-5dd788231913 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 49e9bbbc-436e-4811-8914-5dd788231913 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.047) 0:01:06.998 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.042) 0:01:07.040 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.388) 0:01:07.428 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.088) 0:01:07.516 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.147) 0:01:07.664 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.228) 0:01:07.892 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.091) 0:01:07.984 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:07 -0500 (0:00:00.072) 0:01:08.057 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:07 -0500 (0:00:00.096) 0:01:08.154 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:08 -0500 (0:00:01.840) 0:01:09.994 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:10 -0500 (0:00:01.805) 0:01:11.799 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:10 -0500 (0:00:00.063) 0:01:11.863 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:10 -0500 (0:00:00.048) 0:01:11.912 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:10 -0500 (0:00:00.052) 0:01:11.965 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.068) 0:01:12.033 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.080) 0:01:12.114 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.065) 0:01:12.180 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.107) 0:01:12.288 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.166) 0:01:12.455 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.059) 0:01:12.515 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.060) 0:01:12.575 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.060) 0:01:12.635 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.721) 0:01:13.357 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.108) 0:01:13.466 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.073) 0:01:13.540 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.070) 0:01:13.610 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.859) 0:01:14.469 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.103) 0:01:14.572 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.137) 0:01:14.710 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.139) 0:01:14.850 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.068) 0:01:14.918 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.408) 0:01:15.327 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.121) 0:01:15.449 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.085) 0:01:15.534 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732971419.0647633, "block_size": 4096, "blocks": 0, "ctime": 1732971419.0647633, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36996, "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": 1732971419.0647633, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.432) 0:01:15.967 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:57:15 -0500 (0:00:00.060) 0:01:16.027 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:57:15 -0500 (0:00:00.127) 0:01:16.155 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:57:15 -0500 (0:00:00.062) 0:01:16.218 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:57:15 -0500 (0:00:00.414) 0:01:16.633 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:57:15 -0500 (0:00:00.066) 0:01:16.699 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018775", "end": "2024-11-30 07:57:16.050254", "rc": 1, "start": "2024-11-30 07:57:16.031479" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.445) 0:01:17.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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.043) 0:01:17.188 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.051) 0:01:17.240 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.074) 0:01:17.315 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.076) 0:01:17.391 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.077) 0:01:17.468 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.090) 0:01:17.558 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.078) 0:01:17.637 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.085) 0:01:17.723 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:57:16 -0500 (0:00:00.211) 0:01:17.934 ***** 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.069947", "end": "2024-11-30 07:57:17.360174", "rc": 1, "start": "2024-11-30 07:57:17.290227" } STDOUT: Connection 'statebr' (49e9bbbc-436e-4811-8914-5dd788231913) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.574) 0:01:18.509 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.188) 0:01:18.698 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.087) 0:01:18.785 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.147) 0:01:18.933 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.126) 0:01:19.060 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.114) 0:01:19.174 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002992", "end": "2024-11-30 07:57:18.574517", "rc": 0, "start": "2024-11-30 07:57:18.571525" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.540) 0:01:19.714 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.057) 0:01:19.772 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.065) 0:01:19.838 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.127) 0:01:19.966 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.114) 0:01:20.081 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.085) 0:01:20.167 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.060) 0:01:20.227 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.093) 0:01:20.321 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.092) 0:01:20.413 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:21 -0500 (0:00:01.718) 0:01:22.132 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:22 -0500 (0:00:01.680) 0:01:23.813 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.078) 0:01:23.892 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.074) 0:01:23.967 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.080) 0:01:24.047 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.073) 0:01:24.121 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.080) 0:01:24.202 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.068) 0:01:24.270 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.055) 0:01:24.326 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.110) 0:01:24.437 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.042) 0:01:24.480 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.041) 0:01:24.522 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.052) 0:01:24.575 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.684) 0:01:25.260 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.061) 0:01:25.322 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.054) 0:01:25.376 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.043) 0:01:25.419 ***** 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, cdf35d87-4d10-40c2-b3a3-89206a92833e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.676) 0:01:26.096 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.073) 0:01:26.169 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cdf35d87-4d10-40c2-b3a3-89206a92833e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.076) 0:01:26.246 ***** 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, cdf35d87-4d10-40c2-b3a3-89206a92833e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cdf35d87-4d10-40c2-b3a3-89206a92833e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.077) 0:01:26.323 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.053) 0:01:26.377 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.400) 0:01:26.778 ***** 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, cdf35d87-4d10-40c2-b3a3-89206a92833e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cdf35d87-4d10-40c2-b3a3-89206a92833e" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.047) 0:01:26.826 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.072) 0:01:26.898 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.126) 0:01:27.025 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.055) 0:01:27.080 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.043) 0:01:27.124 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.043) 0:01:27.168 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:27 -0500 (0:00:01.663) 0:01:28.831 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:29 -0500 (0:00:01.654) 0:01:30.485 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.071) 0:01:30.557 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.069) 0:01:30.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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.075) 0:01:30.702 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.073) 0:01:30.775 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.088) 0:01:30.864 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.071) 0:01:30.935 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:30 -0500 (0:00:00.078) 0:01:31.014 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:30 -0500 (0:00:00.110) 0:01:31.124 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:30 -0500 (0:00:00.053) 0:01:31.177 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:30 -0500 (0:00:00.046) 0:01:31.224 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:30 -0500 (0:00:00.053) 0:01:31.278 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:30 -0500 (0:00:00.599) 0:01:31.877 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:30 -0500 (0:00:00.058) 0:01:31.936 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:31 -0500 (0:00:00.101) 0:01:32.038 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:31 -0500 (0:00:00.050) 0:01:32.088 ***** 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, cdf35d87-4d10-40c2-b3a3-89206a92833e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:31 -0500 (0:00:00.793) 0:01:32.882 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:31 -0500 (0:00:00.119) 0:01:33.002 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cdf35d87-4d10-40c2-b3a3-89206a92833e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.105) 0:01:33.107 ***** 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, cdf35d87-4d10-40c2-b3a3-89206a92833e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cdf35d87-4d10-40c2-b3a3-89206a92833e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.171) 0:01:33.279 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.135) 0:01:33.415 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.531) 0:01:33.947 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.154) 0:01:34.101 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.179) 0:01:34.280 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.086) 0:01:34.367 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.068) 0:01:34.436 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.120) 0:01:34.556 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:35 -0500 (0:00:01.689) 0:01:36.246 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:36 -0500 (0:00:01.572) 0:01:37.819 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:36 -0500 (0:00:00.053) 0:01:37.872 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:36 -0500 (0:00:00.079) 0:01:37.951 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.060) 0:01:38.011 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.063) 0:01:38.075 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.086) 0:01:38.162 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.067) 0:01:38.229 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.081) 0:01:38.310 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.143) 0:01:38.453 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.069) 0:01:38.523 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.075) 0:01:38.598 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.077) 0:01:38.676 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.672) 0:01:39.349 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.061) 0:01:39.410 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.052) 0:01:39.463 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.047) 0:01:39.510 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.700) 0:01:40.211 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.061) 0:01:40.273 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.074) 0:01:40.347 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.075) 0:01:40.423 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.053) 0:01:40.477 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.413) 0:01:40.890 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.080) 0:01:40.971 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.088) 0:01:41.060 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.091) 0:01:41.152 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.081) 0:01:41.234 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.074) 0:01:41.309 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.125) 0:01:41.434 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:42 -0500 (0:00:01.700) 0:01:43.134 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:43 -0500 (0:00:01.613) 0:01:44.748 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:43 -0500 (0:00:00.090) 0:01:44.838 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:43 -0500 (0:00:00.051) 0:01:44.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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:43 -0500 (0:00:00.048) 0:01:44.938 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:43 -0500 (0:00:00.049) 0:01:44.987 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.053) 0:01:45.041 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.042) 0:01:45.084 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.050) 0:01:45.134 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.091) 0:01:45.226 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.043) 0:01:45.269 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.044) 0:01:45.314 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.051) 0:01:45.365 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.620) 0:01:45.986 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.093) 0:01:46.079 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.074) 0:01:46.154 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.069) 0:01:46.223 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.841) 0:01:47.065 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.043) 0:01:47.108 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.045) 0:01:47.153 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.053) 0:01:47.207 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.068) 0:01:47.276 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.413) 0:01:47.689 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.149) 0:01:47.839 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.121) 0:01:47.961 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:57:47 -0500 (0:00:00.054) 0:01:48.015 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:57:47 -0500 (0:00:00.444) 0:01:48.460 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:57:47 -0500 (0:00:00.148) 0:01:48.608 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018446", "end": "2024-11-30 07:57:48.120323", "rc": 1, "start": "2024-11-30 07:57:48.101877" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.624) 0:01:49.233 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.063) 0:01:49.296 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.079) 0:01:49.376 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.077) 0:01:49.454 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.072) 0:01:49.526 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.071) 0:01:49.598 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.081) 0:01:49.679 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.158) 0:01:49.838 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.152) 0:01:49.991 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:57:49 -0500 (0:00:00.513) 0:01:50.504 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:57:49 -0500 (0:00:00.051) 0:01:50.555 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:57:49 -0500 (0:00:00.045) 0:01:50.601 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:57:49 -0500 (0:00:00.171) 0:01:50.772 ***** 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.038243", "end": "2024-11-30 07:57:50.189467", "rc": 1, "start": "2024-11-30 07:57:50.151224" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 30 November 2024 07:57:50 -0500 (0:00:00.538) 0:01:51.310 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:57:50 -0500 (0:00:00.122) 0:01:51.433 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:57:50 -0500 (0:00:00.050) 0:01:51.483 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:57:50 -0500 (0:00:00.099) 0:01:51.583 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:57:50 -0500 (0:00:00.070) 0:01:51.654 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:57:50 -0500 (0:00:00.069) 0:01:51.724 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003346", "end": "2024-11-30 07:57:51.071883", "rc": 0, "start": "2024-11-30 07:57:51.068537" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.466) 0:01:52.190 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.096) 0:01:52.287 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.064) 0:01:52.351 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.198) 0:01:52.550 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.090) 0:01:52.640 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.092) 0:01:52.733 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.056) 0:01:52.790 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.045) 0:01:52.835 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:51 -0500 (0:00:00.051) 0:01:52.887 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:53 -0500 (0:00:01.891) 0:01:54.778 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:55 -0500 (0:00:01.765) 0:01:56.543 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.050) 0:01:56.593 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.063) 0:01:56.657 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.067) 0:01:56.725 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.073) 0:01:56.798 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.085) 0:01:56.884 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.071) 0:01:56.955 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.087) 0:01:57.043 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.145) 0:01:57.189 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.076) 0:01:57.265 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.065) 0:01:57.331 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.062) 0:01:57.393 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.667) 0:01:58.060 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.063) 0:01:58.124 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.058) 0:01:58.182 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.052) 0:01:58.234 ***** 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, 38c5ab11-61aa-43f3-96aa-72426519931c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.723) 0:01:58.958 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.073) 0:01:59.032 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38c5ab11-61aa-43f3-96aa-72426519931c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.075) 0:01:59.107 ***** 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, 38c5ab11-61aa-43f3-96aa-72426519931c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38c5ab11-61aa-43f3-96aa-72426519931c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.077) 0:01:59.184 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.068) 0:01:59.253 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.451) 0:01:59.704 ***** 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, 38c5ab11-61aa-43f3-96aa-72426519931c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38c5ab11-61aa-43f3-96aa-72426519931c" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.075) 0:01:59.780 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.115) 0:01:59.896 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:59 -0500 (0:00:00.121) 0:02:00.017 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:59 -0500 (0:00:00.050) 0:02:00.068 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:59 -0500 (0:00:00.040) 0:02:00.108 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:59 -0500 (0:00:00.041) 0:02:00.150 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:58:00 -0500 (0:00:01.710) 0:02:01.860 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:58:02 -0500 (0:00:01.611) 0:02:03.471 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:58:02 -0500 (0:00:00.070) 0:02:03.542 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:58:02 -0500 (0:00:00.118) 0:02:03.661 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:58:02 -0500 (0:00:00.163) 0:02:03.825 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:58:02 -0500 (0:00:00.102) 0:02:03.927 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:58:03 -0500 (0:00:00.116) 0:02:04.043 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:58:03 -0500 (0:00:00.136) 0:02:04.180 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:58:03 -0500 (0:00:00.131) 0:02:04.312 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:58:03 -0500 (0:00:00.154) 0:02:04.467 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:58:03 -0500 (0:00:00.072) 0:02:04.540 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:58:03 -0500 (0:00:00.072) 0:02:04.612 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:58:03 -0500 (0:00:00.085) 0:02:04.698 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:58:04 -0500 (0:00:00.731) 0:02:05.429 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:58:04 -0500 (0:00:00.051) 0:02:05.481 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:58:04 -0500 (0:00:00.104) 0:02:05.585 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:58:04 -0500 (0:00:00.055) 0:02:05.641 ***** 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, 38c5ab11-61aa-43f3-96aa-72426519931c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:58:05 -0500 (0:00:00.683) 0:02:06.324 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:58:05 -0500 (0:00:00.042) 0:02:06.367 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 38c5ab11-61aa-43f3-96aa-72426519931c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:58:05 -0500 (0:00:00.045) 0:02:06.412 ***** 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, 38c5ab11-61aa-43f3-96aa-72426519931c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 38c5ab11-61aa-43f3-96aa-72426519931c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:58:05 -0500 (0:00:00.047) 0:02:06.460 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:58:05 -0500 (0:00:00.042) 0:02:06.502 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:58:05 -0500 (0:00:00.434) 0:02:06.937 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:58:06 -0500 (0:00:00.084) 0:02:07.022 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:58:06 -0500 (0:00:00.092) 0:02:07.115 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:58:06 -0500 (0:00:00.081) 0:02:07.196 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:58:06 -0500 (0:00:00.067) 0:02:07.264 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:58:06 -0500 (0:00:00.117) 0:02:07.382 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:58:08 -0500 (0:00:01.669) 0:02:09.052 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:58:09 -0500 (0:00:01.603) 0:02:10.655 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:58:09 -0500 (0:00:00.053) 0:02:10.709 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:58:09 -0500 (0:00:00.103) 0:02:10.813 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:58:09 -0500 (0:00:00.044) 0:02:10.857 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:58:09 -0500 (0:00:00.042) 0:02:10.900 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:58:09 -0500 (0:00:00.057) 0:02:10.957 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:58:09 -0500 (0:00:00.043) 0:02:11.001 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.051) 0:02:11.052 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.090) 0:02:11.143 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.043) 0:02:11.186 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.043) 0:02:11.230 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.048) 0:02:11.279 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.576) 0:02:11.855 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.052) 0:02:11.907 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.043) 0:02:11.950 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:58:10 -0500 (0:00:00.041) 0:02:11.992 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:58:11 -0500 (0:00:00.701) 0:02:12.694 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:58:11 -0500 (0:00:00.058) 0:02:12.752 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:58:11 -0500 (0:00:00.064) 0:02:12.817 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:58:11 -0500 (0:00:00.062) 0:02:12.879 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:58:11 -0500 (0:00:00.050) 0:02:12.929 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:58:12 -0500 (0:00:00.387) 0:02:13.316 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:58:12 -0500 (0:00:00.080) 0:02:13.397 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:58:12 -0500 (0:00:00.073) 0:02:13.470 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:58:12 -0500 (0:00:00.085) 0:02:13.556 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:58:12 -0500 (0:00:00.052) 0:02:13.609 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:58:12 -0500 (0:00:00.084) 0:02:13.694 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:58:12 -0500 (0:00:00.044) 0:02:13.738 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:58:14 -0500 (0:00:01.678) 0:02:15.416 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:58:16 -0500 (0:00:01.616) 0:02:17.033 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.047) 0:02:17.081 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.043) 0:02:17.124 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.043) 0:02:17.168 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.044) 0:02:17.212 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.053) 0:02:17.265 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.045) 0:02:17.311 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.051) 0:02:17.362 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.089) 0:02:17.451 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.045) 0:02:17.497 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.044) 0:02:17.541 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.050) 0:02:17.591 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:58:17 -0500 (0:00:00.584) 0:02:18.175 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:58:17 -0500 (0:00:00.050) 0:02:18.226 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:58:17 -0500 (0:00:00.087) 0:02:18.314 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:58:17 -0500 (0:00:00.045) 0:02:18.359 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.664) 0:02:19.024 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.043) 0:02:19.067 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.047) 0:02:19.115 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.046) 0:02:19.162 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.044) 0:02:19.206 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.397) 0:02:19.604 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.092) 0:02:19.696 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.076) 0:02:19.773 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.045) 0:02:19.819 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.393) 0:02:20.212 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.061) 0:02:20.274 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018064", "end": "2024-11-30 07:58:19.648946", "rc": 1, "start": "2024-11-30 07:58:19.630882" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.494) 0:02:20.769 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.072) 0:02:20.842 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.074) 0:02:20.916 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.071) 0:02:20.987 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:58:20 -0500 (0:00:00.076) 0:02:21.064 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:58:20 -0500 (0:00:00.097) 0:02:21.161 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 30 November 2024 07:58:20 -0500 (0:00:00.076) 0:02:21.238 ***** [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.940345", "end": "2024-11-30 07:58:21.561584", "rc": 0, "start": "2024-11-30 07:58:20.621239" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 30 November 2024 07:58:21 -0500 (0:00:01.436) 0:02:22.674 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 30 November 2024 07:58:21 -0500 (0:00:00.129) 0:02:22.804 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:58:21 -0500 (0:00:00.049) 0:02:22.853 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:58:21 -0500 (0:00:00.145) 0:02:22.999 ***** included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.122) 0:02:23.122 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.423) 0:02:23.545 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.049) 0:02:23.594 ***** 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.045) 0:02:23.640 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.090) 0:02:23.731 ***** 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.036761", "end": "2024-11-30 07:58:23.091866", "rc": 1, "start": "2024-11-30 07:58:23.055105" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 30 November 2024 07:58:23 -0500 (0:00:00.471) 0:02:24.202 ***** 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.008139", "end": "2024-11-30 07:58:23.568637", "rc": 0, "start": "2024-11-30 07:58:23.560498" } 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 12:cb:57:4f:4c:1d brd ff:ff:ff:ff:ff:ff inet 10.31.11.111/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2583sec preferred_lft 2583sec inet6 fe80::10cb:57ff:fe4f:4c1d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.111 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.111 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 30 November 2024 07:58:23 -0500 (0:00:00.476) 0:02:24.679 ***** 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.246944", "end": "2024-11-30 07:58:24.294491", "rc": 0, "start": "2024-11-30 07:58:24.047547" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10892 0 --:--:-- --:--:-- --:--:-- 10892 % 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 1484 0 --:--:-- --:--:-- --:--:-- 1484 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 30 November 2024 07:58:24 -0500 (0:00:00.692) 0:02:25.371 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.82s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21