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-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.040) 0:00:00.040 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 21 December 2024 07:51:16 -0500 (0:00:01.025) 0:00:01.065 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.036) 0:00:01.102 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.551) 0:00:01.653 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.572) 0:00:02.226 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.054) 0:00:02.281 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.047) 0:00:02.328 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.075) 0:00:02.403 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.598) 0:00:03.002 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.062) 0:00:03.065 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.029) 0:00:03.094 ***** [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:01.223972", "end": "2024-12-21 07:51:19.740368", "rc": 0, "start": "2024-12-21 07:51:18.516396" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 December 2024 07:51:19 -0500 (0:00:01.679) 0:00:04.774 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 21 December 2024 07:51:19 -0500 (0:00:00.016) 0:00:04.790 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 December 2024 07:51:19 -0500 (0:00:00.016) 0:00:04.807 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.612) 0:00:05.419 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.016) 0:00:05.436 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.026) 0:00:05.462 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.017) 0:00:05.480 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.055) 0:00:05.535 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.023) 0:00:05.558 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.030) 0:00:05.589 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002560", "end": "2024-12-21 07:51:20.926525", "rc": 0, "start": "2024-12-21 07:51:20.923965" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.396) 0:00:05.986 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.027) 0:00:06.014 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.030) 0:00:06.044 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.065) 0:00:06.109 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006809", "end": "2024-12-21 07:51:21.458933", "rc": 1, "start": "2024-12-21 07:51:21.452124" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.388) 0:00:06.498 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.033) 0:00:06.531 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.331) 0:00:06.863 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.021) 0:00:06.884 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.029) 0:00:06.913 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.097) 0:00:07.011 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.036) 0:00:07.048 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.019) 0:00:07.067 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.017) 0:00:07.085 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.017) 0:00:07.102 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:23 -0500 (0:00:01.696) 0:00:08.799 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:25 -0500 (0:00:01.798) 0:00:10.597 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.068) 0:00:10.666 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.056) 0:00:10.722 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.082) 0:00:10.805 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.056) 0:00:10.861 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.071) 0:00:10.933 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.068) 0:00: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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.070) 0:00:11.071 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.141) 0:00:11.213 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.098) 0:00:11.311 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.049) 0:00:11.361 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.051) 0:00:11.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.788) 0:00:12.202 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.042) 0:00:12.244 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.035) 0:00:12.280 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.037) 0:00:12.318 ***** 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, 9df1d734-6438-4524-b63d-49f6d6b29f89 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.772) 0:00:13.090 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.062) 0:00:13.153 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9df1d734-6438-4524-b63d-49f6d6b29f89" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.050) 0:00:13.203 ***** 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, 9df1d734-6438-4524-b63d-49f6d6b29f89\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9df1d734-6438-4524-b63d-49f6d6b29f89" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.062) 0:00:13.266 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.041) 0:00:13.308 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.465) 0:00:13.773 ***** 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, 9df1d734-6438-4524-b63d-49f6d6b29f89\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9df1d734-6438-4524-b63d-49f6d6b29f89" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.039) 0:00:13.812 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.080) 0:00:13.893 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.099) 0:00:13.992 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.038) 0:00:14.030 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785488.0086105, "block_size": 4096, "blocks": 8, "ctime": 1734785487.9546103, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785487.9546103, "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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.361) 0:00:14.392 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.040) 0:00:14.433 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018825", "end": "2024-12-21 07:51:29.928986", "rc": 0, "start": "2024-12-21 07:51:29.910161" } 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.643) 0:00:15.076 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.105) 0:00:15.182 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.072) 0:00:15.255 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.058) 0:00:15.314 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.101) 0:00:15.415 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.089) 0:00:15.505 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.123) 0:00:15.628 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.113) 0:00:15.741 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.094) 0:00:15.836 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.201) 0:00:16.038 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.116) 0:00:16.154 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785487.957182, "block_size": 4096, "blocks": 0, "ctime": 1734785487.957182, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37210, "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": 1734785487.957182, "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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.391) 0:00:16.545 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.046) 0:00:16.592 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.064) 0:00:16.657 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.110) 0:00:16.767 ***** 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.055608", "end": "2024-12-21 07:51:32.164823", "rc": 1, "start": "2024-12-21 07:51:32.109215" } STDOUT: Connection 'statebr' (9df1d734-6438-4524-b63d-49f6d6b29f89) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.505) 0:00:17.272 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.101) 0:00:17.374 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.047) 0:00:17.422 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.140) 0:00:17.563 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.145) 0:00:17.708 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.069) 0:00:17.777 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003199", "end": "2024-12-21 07:51:33.091204", "rc": 0, "start": "2024-12-21 07:51:33.088005" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.380) 0:00:18.157 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.062) 0:00:18.220 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.064) 0:00:18.284 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.110) 0:00:18.395 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005461", "end": "2024-12-21 07:51:33.825939", "rc": 1, "start": "2024-12-21 07:51:33.820478" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.497) 0:00:18.893 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.109) 0:00:19.003 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.433) 0:00:19.437 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.043) 0:00:19.480 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.140) 0:00:19.621 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.117) 0:00:19.738 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.135) 0:00:19.873 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.096) 0:00:19.970 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.066) 0:00:20.037 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.059) 0:00:20.096 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:36 -0500 (0:00:01.582) 0:00:21.679 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:38 -0500 (0:00:01.440) 0:00:23.119 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.038) 0:00:23.158 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.036) 0:00:23.195 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.036) 0:00:23.231 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.036) 0:00:23.268 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.054) 0:00:23.322 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.036) 0:00:23.359 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.040) 0:00:23.399 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.095) 0:00:23.495 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.097) 0:00:23.592 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.055) 0:00:23.648 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.066) 0:00:23.715 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.778) 0:00:24.493 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.085) 0:00:24.578 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.056) 0:00:24.634 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.047) 0:00:24.682 ***** 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, f41a2bb6-812a-4454-ad2b-aacf5b08bb6f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.572) 0:00:25.254 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.062) 0:00:25.317 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f41a2bb6-812a-4454-ad2b-aacf5b08bb6f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.064) 0:00:25.381 ***** 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, f41a2bb6-812a-4454-ad2b-aacf5b08bb6f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f41a2bb6-812a-4454-ad2b-aacf5b08bb6f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.069) 0:00:25.451 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.062) 0:00:25.513 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.397) 0:00:25.911 ***** 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, f41a2bb6-812a-4454-ad2b-aacf5b08bb6f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f41a2bb6-812a-4454-ad2b-aacf5b08bb6f" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.071) 0:00:25.983 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.190) 0:00:26.173 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.107) 0:00:26.280 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.509) 0:00:26.790 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.051) 0:00:26.842 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.079) 0:00:26.921 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.041) 0:00:26.963 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785500.1586123, "block_size": 4096, "blocks": 8, "ctime": 1734785500.1586123, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785500.1586123, "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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.387) 0:00:27.350 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.045) 0:00:27.396 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017897", "end": "2024-12-21 07:51:42.720790", "rc": 0, "start": "2024-12-21 07:51:42.702893" } 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.394) 0:00:27.791 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.062) 0:00:27.853 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.109) 0:00:27.962 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.063) 0:00:28.025 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.069) 0:00:28.095 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.064) 0:00:28.160 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.062) 0:00:28.222 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.062) 0:00:28.285 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.056) 0:00:28.341 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.065) 0:00:28.406 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.047) 0:00:28.454 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.093) 0:00:28.548 ***** 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.038034", "end": "2024-12-21 07:51:43.904448", "rc": 1, "start": "2024-12-21 07:51:43.866414" } STDOUT: Connection 'statebr' (f41a2bb6-812a-4454-ad2b-aacf5b08bb6f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.407) 0:00:28.956 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.061) 0:00:29.018 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.037) 0:00:29.056 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.074) 0:00:29.130 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.093) 0:00:29.224 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.057) 0:00:29.281 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2024-12-21 07:51:44.587046", "rc": 0, "start": "2024-12-21 07:51:44.583521" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.368) 0:00:29.649 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.037) 0:00:29.687 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.037) 0:00:29.725 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.076) 0:00:29.802 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.103) 0:00:29.906 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.132) 0:00:30.038 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.108) 0:00:30.147 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.083) 0:00:30.231 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.120) 0:00:30.351 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:47 -0500 (0:00:01.647) 0:00:31.999 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:48 -0500 (0:00:01.511) 0:00:33.510 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.060) 0:00:33.571 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.048) 0:00:33.619 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.041) 0:00:33.661 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.073) 0:00:33.734 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.044) 0:00:33.779 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.050) 0:00:33.829 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.044) 0:00:33.873 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.089) 0:00:33.963 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.064) 0:00:34.027 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.064) 0:00:34.092 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.067) 0:00:34.159 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.577) 0:00:34.737 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.062) 0:00:34.799 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.069) 0:00:34.869 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.041) 0:00:34.911 ***** 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, 351f5722-bb0a-4a4a-b645-bf56d3e5c277 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.603) 0:00:35.514 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.058) 0:00:35.573 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 351f5722-bb0a-4a4a-b645-bf56d3e5c277" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.100) 0:00:35.673 ***** 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, 351f5722-bb0a-4a4a-b645-bf56d3e5c277\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 351f5722-bb0a-4a4a-b645-bf56d3e5c277" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.061) 0:00:35.735 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.056) 0:00:35.791 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.373) 0:00:36.164 ***** 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, 351f5722-bb0a-4a4a-b645-bf56d3e5c277\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 351f5722-bb0a-4a4a-b645-bf56d3e5c277" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.038) 0:00:36.202 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.067) 0:00:36.270 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.073) 0:00:36.344 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.070) 0:00:36.414 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.045) 0:00:36.460 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.035) 0:00:36.495 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.038) 0:00:36.533 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:53 -0500 (0:00:01.558) 0:00:38.091 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:54 -0500 (0:00:01.481) 0:00:39.573 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.046) 0:00:39.620 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.044) 0:00:39.665 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.038) 0:00:39.704 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.049) 0:00:39.753 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.095) 0:00:39.849 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.055) 0:00:39.904 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.064) 0:00:39.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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.126) 0:00:40.095 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.055) 0:00:40.151 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.117) 0:00:40.269 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.071) 0:00:40.340 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.685) 0:00:41.026 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.043) 0:00:41.069 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.043) 0:00:41.113 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.045) 0:00:41.159 ***** 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, 351f5722-bb0a-4a4a-b645-bf56d3e5c277 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.582) 0:00:41.741 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.046) 0:00:41.788 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 351f5722-bb0a-4a4a-b645-bf56d3e5c277 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.063) 0:00:41.852 ***** 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, 351f5722-bb0a-4a4a-b645-bf56d3e5c277 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 351f5722-bb0a-4a4a-b645-bf56d3e5c277 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.111) 0:00:41.964 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.062) 0:00:42.026 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.390) 0:00:42.417 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.109) 0:00:42.526 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.100) 0:00:42.626 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785510.3825912, "block_size": 4096, "blocks": 0, "ctime": 1734785510.3825912, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37341, "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": 1734785510.3825912, "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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.363) 0:00:42.990 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.045) 0:00:43.035 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.087) 0:00:43.122 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.058) 0:00:43.181 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785510.4236138, "block_size": 4096, "blocks": 8, "ctime": 1734785510.3806138, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785510.3806138, "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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.392) 0:00:43.574 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.101) 0:00:43.675 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018166", "end": "2024-12-21 07:51:59.163319", "rc": 0, "start": "2024-12-21 07:51:59.145153" } 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.583) 0:00:44.259 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.066) 0:00:44.325 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.077) 0:00:44.402 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.128) 0:00:44.530 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.097) 0:00:44.628 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.074) 0:00:44.702 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.056) 0:00:44.759 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.052) 0:00:44.811 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.048) 0:00:44.859 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.042) 0:00:44.902 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.040) 0:00:44.942 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.089) 0:00:45.032 ***** 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.059322", "end": "2024-12-21 07:52:00.422449", "rc": 1, "start": "2024-12-21 07:52:00.363127" } STDOUT: Connection 'statebr' (351f5722-bb0a-4a4a-b645-bf56d3e5c277) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.472) 0:00:45.505 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.150) 0:00:45.655 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.055) 0:00:45.711 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.131) 0:00:45.843 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.197) 0:00:46.040 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.090) 0:00:46.131 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002715", "end": "2024-12-21 07:52:01.506004", "rc": 0, "start": "2024-12-21 07:52:01.503289" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.438) 0:00:46.569 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.062) 0:00:46.632 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.060) 0:00:46.692 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.113) 0:00:46.806 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.096) 0:00:46.902 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.114) 0:00:47.016 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.062) 0:00:47.079 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.067) 0:00:47.147 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.054) 0:00:47.201 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:03 -0500 (0:00:01.593) 0:00:48.795 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:05 -0500 (0:00:01.632) 0:00:50.427 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.067) 0:00:50.495 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.063) 0:00:50.558 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.054) 0:00:50.612 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.047) 0:00:50.660 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.051) 0:00:50.712 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.040) 0:00:50.753 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.043) 0:00:50.797 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.095) 0:00:50.892 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.078) 0:00:50.971 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.098) 0:00:51.069 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.075) 0:00:51.145 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.627) 0:00:51.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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.051) 0:00:51.824 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.070) 0:00:51.894 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.036) 0:00:51.931 ***** 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, d1f76b34-3631-48bf-8788-64ec19999dd6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.602) 0:00:52.534 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.047) 0:00:52.581 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1f76b34-3631-48bf-8788-64ec19999dd6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.044) 0:00:52.625 ***** 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, d1f76b34-3631-48bf-8788-64ec19999dd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1f76b34-3631-48bf-8788-64ec19999dd6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.039) 0:00:52.665 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.035) 0:00:52.701 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.340) 0:00:53.042 ***** 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, d1f76b34-3631-48bf-8788-64ec19999dd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1f76b34-3631-48bf-8788-64ec19999dd6" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.039) 0:00:53.081 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.058) 0:00:53.140 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.071) 0:00:53.211 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.055) 0:00:53.267 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.089) 0:00:53.356 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.041) 0:00:53.398 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:09 -0500 (0:00:01.567) 0:00:54.965 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:11 -0500 (0:00:01.465) 0:00:56.430 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.093) 0:00:56.524 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.056) 0:00:56.580 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.046) 0:00:56.627 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.048) 0:00:56.676 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.050) 0:00:56.726 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.038) 0:00:56.765 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.042) 0:00:56.808 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.071) 0:00:56.880 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.033) 0:00:56.914 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.034) 0:00:56.948 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.045) 0:00:56.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.561) 0:00:57.556 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.049) 0:00:57.605 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.064) 0:00:57.670 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.060) 0:00:57.730 ***** 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, d1f76b34-3631-48bf-8788-64ec19999dd6 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.622) 0:00:58.353 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.035) 0:00:58.389 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1f76b34-3631-48bf-8788-64ec19999dd6 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.037) 0:00:58.426 ***** 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, d1f76b34-3631-48bf-8788-64ec19999dd6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1f76b34-3631-48bf-8788-64ec19999dd6 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.038) 0:00:58.465 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.033) 0:00:58.499 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.345) 0:00:58.845 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.065) 0:00:58.910 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.073) 0:00:58.984 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.071) 0:00:59.055 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.044) 0:00:59.099 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.069) 0:00:59.169 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.036) 0:00:59.205 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:15 -0500 (0:00:01.526) 0:01:00.731 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:17 -0500 (0:00:01.419) 0:01:02.151 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.091) 0:01:02.242 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.058) 0:01:02.301 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.055) 0:01:02.356 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.070) 0:01:02.427 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.128) 0:01:02.556 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.061) 0:01:02.617 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.072) 0:01:02.690 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.098) 0:01:02.788 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.063) 0:01:02.852 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.067) 0:01:02.919 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.065) 0:01:02.985 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.666) 0:01:03.651 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.067) 0:01:03.719 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.060) 0:01:03.779 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.068) 0:01:03.848 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.850) 0:01:04.698 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.054) 0:01:04.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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.068) 0:01:04.821 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.150) 0:01:04.972 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.078) 0:01:05.051 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.478) 0:01:05.529 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.075) 0:01:05.605 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.058) 0:01:05.664 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734785527.4196823, "block_size": 4096, "blocks": 0, "ctime": 1734785527.4196823, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37472, "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": 1734785527.4196823, "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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.402) 0:01:06.067 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.057) 0:01:06.125 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.109) 0:01:06.234 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.043) 0:01:06.277 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.356) 0:01:06.634 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.042) 0:01:06.676 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018465", "end": "2024-12-21 07:52:21.999006", "rc": 1, "start": "2024-12-21 07:52:21.980541" } 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.413) 0:01:07.090 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.079) 0:01:07.169 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.061) 0:01:07.231 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.074) 0:01:07.305 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.064) 0:01:07.369 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.059) 0:01:07.429 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.063) 0:01:07.493 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.053) 0:01:07.547 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.056) 0:01:07.604 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.107) 0:01:07.711 ***** 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.065873", "end": "2024-12-21 07:52:23.102020", "rc": 1, "start": "2024-12-21 07:52:23.036147" } STDOUT: Connection 'statebr' (d1f76b34-3631-48bf-8788-64ec19999dd6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.462) 0:01:08.174 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.118) 0:01:08.293 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.062) 0:01:08.355 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.095) 0:01:08.451 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.064) 0:01:08.515 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.075) 0:01:08.591 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002667", "end": "2024-12-21 07:52:23.927981", "rc": 0, "start": "2024-12-21 07:52:23.925314" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.414) 0:01:09.006 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.053) 0:01:09.060 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.055) 0:01:09.115 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.125) 0:01:09.240 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.179) 0:01:09.420 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.165) 0:01:09.585 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.080) 0:01:09.666 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.057) 0:01:09.723 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.054) 0:01:09.777 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:26 -0500 (0:00:01.579) 0:01:11.357 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:27 -0500 (0:00:01.564) 0:01:12.922 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.038) 0:01:12.961 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.041) 0:01:13.003 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.046) 0:01:13.049 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.058) 0:01:13.107 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.052) 0:01:13.160 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.042) 0:01:13.202 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.049) 0:01:13.252 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.080) 0:01:13.332 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.035) 0:01:13.368 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.039) 0:01:13.407 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.047) 0:01:13.455 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.534) 0:01:13.989 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.051) 0:01:14.041 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.067) 0:01:14.109 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.053) 0:01:14.162 ***** 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, 6e8e631c-ba30-40e2-8687-b4b980b00781 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.651) 0:01:14.813 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.041) 0:01:14.855 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e8e631c-ba30-40e2-8687-b4b980b00781" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.056) 0:01:14.911 ***** 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, 6e8e631c-ba30-40e2-8687-b4b980b00781\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e8e631c-ba30-40e2-8687-b4b980b00781" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.056) 0:01:14.967 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.042) 0:01:15.010 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.355) 0:01:15.366 ***** 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, 6e8e631c-ba30-40e2-8687-b4b980b00781\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e8e631c-ba30-40e2-8687-b4b980b00781" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.041) 0:01:15.407 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.069) 0:01:15.477 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.154) 0:01:15.632 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.069) 0:01:15.701 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.087) 0:01:15.789 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.068) 0:01:15.857 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:32 -0500 (0:00:01.579) 0:01:17.436 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:33 -0500 (0:00:01.516) 0:01:18.953 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.044) 0:01:18.997 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.037) 0:01:19.034 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.036) 0:01:19.071 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.038) 0:01:19.109 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.049) 0:01:19.159 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.050) 0:01:19.209 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.069) 0:01:19.278 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.099) 0:01:19.378 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.040) 0:01:19.418 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.042) 0:01:19.460 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.050) 0:01:19.511 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.550) 0:01:20.062 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.186) 0:01:20.248 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.062) 0:01:20.310 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.042) 0:01:20.353 ***** 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, 6e8e631c-ba30-40e2-8687-b4b980b00781 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.568) 0:01:20.921 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.061) 0:01:20.982 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6e8e631c-ba30-40e2-8687-b4b980b00781 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.060) 0:01:21.042 ***** 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, 6e8e631c-ba30-40e2-8687-b4b980b00781 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6e8e631c-ba30-40e2-8687-b4b980b00781 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.060) 0:01:21.103 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.056) 0:01:21.160 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.373) 0:01:21.534 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.061) 0:01:21.595 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.087) 0:01:21.683 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.078) 0:01:21.762 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.105) 0:01:21.867 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.058) 0:01:21.925 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:38 -0500 (0:00:01.569) 0:01:23.495 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:39 -0500 (0:00:01.414) 0:01:24.909 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.070) 0:01:24.980 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.037) 0:01:25.017 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.037) 0:01:25.054 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.038) 0:01:25.093 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.042) 0:01:25.136 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.037) 0:01:25.173 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.043) 0:01:25.217 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.073) 0:01:25.290 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.037) 0:01:25.328 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.037) 0:01:25.365 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.043) 0:01:25.408 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.591) 0:01:25.999 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.065) 0:01:26.064 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.062) 0:01:26.127 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.059) 0:01:26.186 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.704) 0:01:26.890 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.040) 0:01:26.931 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.044) 0:01:26.975 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.061) 0:01:27.037 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.042) 0:01:27.079 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.373) 0:01:27.453 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.113) 0:01:27.567 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.085) 0:01:27.652 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.095) 0:01:27.747 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.053) 0:01:27.801 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.061) 0:01:27.862 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.120) 0:01:27.983 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:44 -0500 (0:00:01.715) 0:01:29.699 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:46 -0500 (0:00:01.415) 0:01:31.115 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.067) 0:01:31.182 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.037) 0:01:31.219 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.035) 0:01:31.255 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.036) 0:01:31.291 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.044) 0:01:31.335 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.036) 0:01:31.372 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.043) 0:01:31.415 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.073) 0:01:31.489 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.036) 0:01:31.525 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.037) 0:01:31.563 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.042) 0:01:31.605 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.533) 0:01:32.138 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.061) 0:01:32.200 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.067) 0:01:32.268 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.056) 0:01:32.325 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.745) 0:01:33.070 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.059) 0:01:33.130 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.052) 0:01:33.182 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.043) 0:01:33.225 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.036) 0:01:33.262 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.370) 0:01:33.633 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.078) 0:01:33.711 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.081) 0:01:33.792 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.042) 0:01:33.835 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.426) 0:01:34.262 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.062) 0:01:34.325 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017588", "end": "2024-12-21 07:52:49.679644", "rc": 1, "start": "2024-12-21 07:52:49.662056" } 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.403) 0:01:34.728 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.038) 0:01:34.766 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.038) 0:01:34.805 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.038) 0:01:34.844 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.039) 0:01:34.883 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.039) 0:01:34.922 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.047) 0:01:34.970 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.120) 0:01:35.090 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.103) 0:01:35.193 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.367) 0:01:35.560 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.045) 0:01:35.606 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.051) 0:01:35.658 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.152) 0:01:35.810 ***** 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.035591", "end": "2024-12-21 07:52:51.208912", "rc": 1, "start": "2024-12-21 07:52:51.173321" } 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.460) 0:01:36.270 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.064) 0:01:36.335 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.038) 0:01:36.373 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.076) 0:01:36.450 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.060) 0:01:36.511 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.059) 0:01:36.570 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002351", "end": "2024-12-21 07:52:51.874833", "rc": 0, "start": "2024-12-21 07:52:51.872482" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.353) 0:01:36.924 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.038) 0:01:36.962 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.036) 0:01:36.999 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.114) 0:01:37.114 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.063) 0:01:37.178 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.071) 0:01:37.250 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.055) 0:01:37.305 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.037) 0:01:37.342 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.036) 0:01:37.379 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:53 -0500 (0:00:01.525) 0:01:38.904 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:55 -0500 (0:00:01.486) 0:01:40.391 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.043) 0:01:40.434 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.043) 0:01:40.478 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.056) 0:01:40.534 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.064) 0:01:40.599 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.069) 0:01:40.668 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.082) 0:01:40.750 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.073) 0:01:40.823 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.125) 0:01:40.949 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.080) 0:01:41.029 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.058) 0:01:41.088 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.108) 0:01:41.197 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.566) 0:01:41.764 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.062) 0:01:41.826 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.040) 0:01:41.867 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.047) 0:01:41.914 ***** 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, d99efccb-0a75-4727-894e-f53243c7cc8a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.605) 0:01:42.520 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.036) 0:01:42.556 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d99efccb-0a75-4727-894e-f53243c7cc8a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.040) 0:01:42.597 ***** 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, d99efccb-0a75-4727-894e-f53243c7cc8a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d99efccb-0a75-4727-894e-f53243c7cc8a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.040) 0:01:42.638 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.046) 0:01:42.685 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.663) 0:01:43.348 ***** 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, d99efccb-0a75-4727-894e-f53243c7cc8a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d99efccb-0a75-4727-894e-f53243c7cc8a" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.102) 0:01:43.451 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.118) 0:01:43.570 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.137) 0:01:43.707 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.048) 0:01:43.755 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.039) 0:01:43.794 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.040) 0:01:43.835 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:00 -0500 (0:00:01.546) 0:01:45.382 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:01 -0500 (0:00:01.467) 0:01:46.850 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.067) 0:01:46.918 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.053) 0:01:46.971 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.087) 0:01:47.059 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.094) 0:01:47.153 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.097) 0:01:47.250 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.106) 0:01:47.357 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.092) 0:01:47.449 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.193) 0:01:47.642 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.065) 0:01:47.708 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.064) 0:01:47.773 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.083) 0:01:47.856 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.701) 0:01:48.557 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.072) 0:01:48.630 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.061) 0:01:48.691 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.071) 0:01:48.763 ***** 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, d99efccb-0a75-4727-894e-f53243c7cc8a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.568) 0:01:49.331 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.038) 0:01:49.369 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d99efccb-0a75-4727-894e-f53243c7cc8a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.039) 0:01:49.408 ***** 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, d99efccb-0a75-4727-894e-f53243c7cc8a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d99efccb-0a75-4727-894e-f53243c7cc8a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.044) 0:01:49.452 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.039) 0:01:49.492 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.476) 0:01:49.969 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.067) 0:01:50.036 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.075) 0:01:50.112 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.146) 0:01:50.258 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.076) 0:01:50.335 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.123) 0:01:50.458 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:07 -0500 (0:00:01.623) 0:01:52.082 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:08 -0500 (0:00:01.457) 0:01:53.540 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.069) 0:01:53.610 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.037) 0:01:53.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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.037) 0:01:53.685 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.041) 0:01:53.726 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.063) 0:01:53.789 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.054) 0:01:53.843 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.047) 0:01:53.891 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.094) 0:01:53.986 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.040) 0:01:54.027 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.039) 0:01:54.067 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.043) 0:01:54.110 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.533) 0:01:54.644 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.050) 0:01:54.695 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.042) 0:01:54.738 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.059) 0:01:54.797 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.755) 0:01:55.553 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.052) 0:01:55.606 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.044) 0:01:55.650 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.074) 0:01:55.724 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.064) 0:01:55.788 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.405) 0:01:56.194 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.070) 0:01:56.264 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.084) 0:01:56.348 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.069) 0:01:56.418 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.047) 0:01:56.465 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.075) 0:01:56.541 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.042) 0:01:56.584 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:13 -0500 (0:00:01.552) 0:01:58.136 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:14 -0500 (0:00:01.484) 0:01:59.621 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.077) 0:01:59.698 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.045) 0:01:59.744 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.039) 0:01:59.783 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.038) 0:01:59.821 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.044) 0:01:59.866 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.036) 0:01:59.903 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.050) 0:01:59.953 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.111) 0:02:00.064 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.057) 0:02:00.122 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.061) 0:02:00.184 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.067) 0:02:00.252 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.561) 0:02:00.813 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.071) 0:02:00.885 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.061) 0:02:00.946 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.080) 0:02:01.027 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.541) 0:02:01.569 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.046) 0:02:01.615 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.043) 0:02:01.658 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.040) 0:02:01.699 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.036) 0:02:01.736 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.346) 0:02:02.083 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.084) 0:02:02.167 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.064) 0:02:02.231 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.037) 0:02:02.269 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.353) 0:02:02.623 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.073) 0:02:02.696 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017255", "end": "2024-12-21 07:53:18.016571", "rc": 1, "start": "2024-12-21 07:53:17.999316" } 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.369) 0:02:03.066 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.037) 0:02:03.104 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.038) 0:02:03.142 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.049) 0:02:03.192 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.037) 0:02:03.229 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.038) 0:02:03.268 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.040) 0:02:03.309 ***** [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.871744", "end": "2024-12-21 07:53:19.481198", "rc": 0, "start": "2024-12-21 07:53:18.609454" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 December 2024 07:53:19 -0500 (0:00:01.237) 0:02:04.546 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.041) 0:02:04.587 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.074) 0:02:04.662 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.072) 0:02:04.735 ***** included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.064) 0:02:04.800 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.362) 0:02:05.162 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.064) 0:02:05.227 ***** 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.052) 0:02:05.279 ***** included: /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.089) 0:02:05.369 ***** 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.035491", "end": "2024-12-21 07:53:20.711256", "rc": 1, "start": "2024-12-21 07:53:20.675765" } 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.391) 0:02:05.760 ***** 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.007549", "end": "2024-12-21 07:53:21.067256", "rc": 0, "start": "2024-12-21 07:53:21.059707" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:c2:b4:b1:49 brd ff:ff:ff:ff:ff:ff inet 10.31.13.147/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2703sec preferred_lft 2703sec inet6 fe80::8ff:c2ff:feb4:b149/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.147 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.147 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-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.381) 0:02:06.142 ***** 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.158911", "end": "2024-12-21 07:53:21.629278", "rc": 0, "start": "2024-12-21 07:53:21.470367" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 11730 0 --:--:-- --:--:-- --:--:-- 11730 % 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 2645 0 --:--:-- --:--:-- --:--:-- 2645 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 21 December 2024 07:53:21 -0500 (0:00:00.530) 0:02:06.672 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-kuQ/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-kuQ/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-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Enable EPEL 8 ----------------------------------------------------------- 1.68s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-kuQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26