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-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 21 September 2024 08:49:01 -0400 (0:00:00.074) 0:00:00.075 **** ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 21 September 2024 08:49:03 -0400 (0:00:01.065) 0:00:01.140 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 September 2024 08:49:03 -0400 (0:00:00.037) 0:00:01.178 **** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 September 2024 08:49:03 -0400 (0:00:00.524) 0:00:01.702 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 September 2024 08:49:04 -0400 (0:00:00.468) 0:00:02.170 **** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 September 2024 08:49:04 -0400 (0:00:00.038) 0:00:02.208 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 September 2024 08:49:04 -0400 (0:00:00.032) 0:00:02.241 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 September 2024 08:49:04 -0400 (0:00:00.055) 0:00:02.297 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 September 2024 08:49:04 -0400 (0:00:00.428) 0:00:02.726 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 September 2024 08:49:04 -0400 (0:00:00.025) 0:00:02.751 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 September 2024 08:49:04 -0400 (0:00:00.028) 0:00:02.780 **** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.215647", "end": "2024-09-21 08:49:05.180653", "rc": 0, "start": "2024-09-21 08:49:04.965006" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 September 2024 08:49:05 -0400 (0:00:00.576) 0:00:03.357 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 21 September 2024 08:49:05 -0400 (0:00:00.027) 0:00:03.384 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 September 2024 08:49:05 -0400 (0:00:00.022) 0:00:03.407 **** ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 September 2024 08:49:05 -0400 (0:00:00.629) 0:00:04.036 **** ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 September 2024 08:49:05 -0400 (0:00:00.016) 0:00:04.053 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:49:05 -0400 (0:00:00.029) 0:00:04.083 **** ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:49:05 -0400 (0:00:00.019) 0:00:04.102 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.063) 0:00:04.166 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.027) 0:00:04.193 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.021) 0:00:04.214 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002662", "end": "2024-09-21 08:49:06.366275", "rc": 0, "start": "2024-09-21 08:49:06.363613" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.327) 0:00:04.542 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.024) 0:00:04.567 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.025) 0:00:04.592 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.043) 0:00:04.636 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006977", "end": "2024-09-21 08:49:06.881765", "rc": 1, "start": "2024-09-21 08:49:06.874788" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.425) 0:00:05.061 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:49:06 -0400 (0:00:00.034) 0:00:05.096 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:49:07 -0400 (0:00:00.539) 0:00:05.636 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:49:07 -0400 (0:00:00.030) 0:00:05.667 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:49:07 -0400 (0:00:00.050) 0:00:05.717 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:49:07 -0400 (0:00:00.151) 0:00:05.869 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:49:07 -0400 (0:00:00.040) 0:00:05.909 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:49:07 -0400 (0:00:00.028) 0:00:05.937 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:49:07 -0400 (0:00:00.021) 0:00:05.959 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:49:07 -0400 (0:00:00.016) 0:00:05.976 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:49:09 -0400 (0:00:01.647) 0:00:07.624 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:49:11 -0400 (0:00:01.758) 0:00:09.382 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.059) 0:00:09.442 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.041) 0:00:09.484 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.046) 0:00:09.530 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.052) 0:00:09.583 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.062) 0:00:09.645 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.063) 0:00:09.709 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.105) 0:00:09.815 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.132) 0:00:09.947 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.055) 0:00:10.002 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.063) 0:00:10.066 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:49:11 -0400 (0:00:00.046) 0:00:10.112 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:49:12 -0400 (0:00:00.800) 0:00:10.912 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:49:12 -0400 (0:00:00.119) 0:00:11.032 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:49:12 -0400 (0:00:00.052) 0:00:11.084 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:49:13 -0400 (0:00:00.050) 0:00:11.135 **** 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, 5ccf7084-79e1-4293-917a-2fc04cda70bb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:49:14 -0400 (0:00:01.018) 0:00:12.154 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:49:14 -0400 (0:00:00.055) 0:00:12.209 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5ccf7084-79e1-4293-917a-2fc04cda70bb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:49:14 -0400 (0:00:00.060) 0:00:12.270 **** 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, 5ccf7084-79e1-4293-917a-2fc04cda70bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5ccf7084-79e1-4293-917a-2fc04cda70bb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:49:14 -0400 (0:00:00.129) 0:00:12.400 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:49:14 -0400 (0:00:00.117) 0:00:12.517 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:49:14 -0400 (0:00:00.556) 0:00:13.073 **** 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, 5ccf7084-79e1-4293-917a-2fc04cda70bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5ccf7084-79e1-4293-917a-2fc04cda70bb" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:49:15 -0400 (0:00:00.057) 0:00:13.130 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:49:15 -0400 (0:00:00.161) 0:00:13.291 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:49:15 -0400 (0:00:00.096) 0:00:13.388 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:49:15 -0400 (0:00:00.056) 0:00:13.444 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726922953.8520012, "block_size": 4096, "blocks": 8, "ctime": 1726922953.8220012, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726922953.8220012, "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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:49:15 -0400 (0:00:00.482) 0:00:13.927 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:49:15 -0400 (0:00:00.052) 0:00:13.980 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016394", "end": "2024-09-21 08:49:16.170603", "rc": 0, "start": "2024-09-21 08:49:16.154209" } 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.374) 0:00:14.354 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.036) 0:00:14.391 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.035) 0:00:14.426 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.035) 0:00:14.461 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.034) 0:00:14.495 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.034) 0:00:14.530 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.035) 0:00:14.566 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.034) 0:00:14.601 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.034) 0:00:14.636 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.069) 0:00:14.706 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:49:16 -0400 (0:00:00.111) 0:00:14.817 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726922953.824168, "block_size": 4096, "blocks": 0, "ctime": 1726922953.824168, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36170, "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": 1726922953.824168, "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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.376) 0:00:15.193 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.048) 0:00:15.242 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.045) 0:00:15.288 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.100) 0:00:15.388 **** 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.054439", "end": "2024-09-21 08:49:17.635491", "rc": 1, "start": "2024-09-21 08:49:17.581052" } STDOUT: Connection 'statebr' (5ccf7084-79e1-4293-917a-2fc04cda70bb) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.434) 0:00:15.823 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.058) 0:00:15.881 **** ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.032) 0:00:15.914 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.090) 0:00:16.004 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:49:17 -0400 (0:00:00.089) 0:00:16.094 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:49:18 -0400 (0:00:00.122) 0:00:16.216 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002856", "end": "2024-09-21 08:49:18.405760", "rc": 0, "start": "2024-09-21 08:49:18.402904" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:49:18 -0400 (0:00:00.379) 0:00:16.596 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:49:18 -0400 (0:00:00.042) 0:00:16.638 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:49:18 -0400 (0:00:00.033) 0:00:16.671 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:49:18 -0400 (0:00:00.078) 0:00:16.749 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005667", "end": "2024-09-21 08:49:18.934015", "rc": 1, "start": "2024-09-21 08:49:18.928348" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.397) 0:00:17.147 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.091) 0:00:17.238 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.379) 0:00:17.618 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.050) 0:00:17.668 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.064) 0:00:17.733 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.092) 0:00:17.826 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.065) 0:00:17.892 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.038) 0:00:17.931 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.044) 0:00:17.975 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:49:19 -0400 (0:00:00.079) 0:00:18.055 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:49:21 -0400 (0:00:01.566) 0:00:19.622 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:49:23 -0400 (0:00:01.633) 0:00:21.255 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.058) 0:00:21.314 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.039) 0:00:21.353 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.039) 0:00:21.393 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.048) 0:00:21.442 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.047) 0:00:21.489 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.038) 0:00:21.528 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.043) 0:00:21.571 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.098) 0:00:21.669 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.037) 0:00:21.707 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.046) 0:00:21.753 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:49:23 -0400 (0:00:00.071) 0:00:21.825 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:49:24 -0400 (0:00:00.613) 0:00:22.438 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:49:24 -0400 (0:00:00.085) 0:00:22.524 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:49:24 -0400 (0:00:00.055) 0:00:22.579 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:49:24 -0400 (0:00:00.053) 0:00:22.633 **** 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, 96e5288f-0e9c-474f-9a83-6d34fbf31825 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:49:25 -0400 (0:00:00.557) 0:00:23.190 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:49:25 -0400 (0:00:00.056) 0:00:23.247 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96e5288f-0e9c-474f-9a83-6d34fbf31825" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:49:25 -0400 (0:00:00.119) 0:00:23.366 **** 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, 96e5288f-0e9c-474f-9a83-6d34fbf31825\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96e5288f-0e9c-474f-9a83-6d34fbf31825" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:49:25 -0400 (0:00:00.089) 0:00:23.455 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:49:25 -0400 (0:00:00.076) 0:00:23.532 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 September 2024 08:49:25 -0400 (0:00:00.456) 0:00:23.988 **** 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, 96e5288f-0e9c-474f-9a83-6d34fbf31825\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96e5288f-0e9c-474f-9a83-6d34fbf31825" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:49:25 -0400 (0:00:00.058) 0:00:24.047 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:49:26 -0400 (0:00:00.108) 0:00:24.155 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:49:26 -0400 (0:00:00.094) 0:00:24.250 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:49:26 -0400 (0:00:00.382) 0:00:24.632 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:49:26 -0400 (0:00:00.038) 0:00:24.671 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:49:26 -0400 (0:00:00.067) 0:00:24.738 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:49:26 -0400 (0:00:00.042) 0:00:24.780 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726922964.9369953, "block_size": 4096, "blocks": 8, "ctime": 1726922964.9369953, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726922964.9369953, "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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.363) 0:00:25.144 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.048) 0:00:25.193 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016173", "end": "2024-09-21 08:49:27.453869", "rc": 0, "start": "2024-09-21 08:49:27.437696" } 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.455) 0:00:25.648 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.040) 0:00:25.689 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.038) 0:00:25.727 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.037) 0:00:25.765 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.036) 0:00:25.802 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.036) 0:00:25.839 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.063) 0:00:25.903 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.037) 0:00:25.940 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.040) 0:00:25.981 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.037) 0:00:26.019 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:49:27 -0400 (0:00:00.058) 0:00:26.077 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:49:28 -0400 (0:00:00.121) 0:00:26.198 **** 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.032911", "end": "2024-09-21 08:49:28.421155", "rc": 1, "start": "2024-09-21 08:49:28.388244" } STDOUT: Connection 'statebr' (96e5288f-0e9c-474f-9a83-6d34fbf31825) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 September 2024 08:49:28 -0400 (0:00:00.410) 0:00:26.609 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:49:28 -0400 (0:00:00.122) 0:00:26.731 **** ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:49:28 -0400 (0:00:00.078) 0:00:26.810 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:49:28 -0400 (0:00:00.157) 0:00:26.968 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:49:29 -0400 (0:00:00.189) 0:00:27.158 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:49:29 -0400 (0:00:00.202) 0:00:27.360 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002716", "end": "2024-09-21 08:49:29.566816", "rc": 0, "start": "2024-09-21 08:49:29.564100" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:49:29 -0400 (0:00:00.425) 0:00:27.786 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:49:29 -0400 (0:00:00.060) 0:00:27.847 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:49:29 -0400 (0:00:00.053) 0:00:27.900 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:49:29 -0400 (0:00:00.071) 0:00:27.971 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:49:29 -0400 (0:00:00.077) 0:00:28.049 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:49:29 -0400 (0:00:00.070) 0:00:28.120 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:49:30 -0400 (0:00:00.042) 0:00:28.163 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:49:30 -0400 (0:00:00.033) 0:00:28.196 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:49:30 -0400 (0:00:00.034) 0:00:28.231 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:49:31 -0400 (0:00:01.516) 0:00:29.747 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:49:33 -0400 (0:00:01.413) 0:00:31.160 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.042) 0:00:31.203 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.044) 0:00:31.247 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.041) 0:00:31.289 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.040) 0:00:31.329 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.041) 0:00:31.371 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.034) 0:00:31.406 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.039) 0:00:31.445 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.099) 0:00:31.544 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.036) 0:00:31.581 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.041) 0:00:31.623 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:49:33 -0400 (0:00:00.061) 0:00:31.684 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.513) 0:00:32.198 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.063) 0:00:32.261 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.053) 0:00:32.314 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.049) 0:00:32.364 **** 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, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.554) 0:00:32.919 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.039) 0:00:32.958 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.053) 0:00:33.012 **** 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, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.037) 0:00:33.050 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:49:34 -0400 (0:00:00.051) 0:00:33.102 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:49:35 -0400 (0:00:00.402) 0:00:33.504 **** 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, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:49:35 -0400 (0:00:00.037) 0:00:33.542 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:49:35 -0400 (0:00:00.077) 0:00:33.620 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:49:35 -0400 (0:00:00.120) 0:00:33.740 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:49:35 -0400 (0:00:00.135) 0:00:33.876 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:49:35 -0400 (0:00:00.129) 0:00:34.006 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:49:35 -0400 (0:00:00.086) 0:00:34.092 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:49:36 -0400 (0:00:00.061) 0:00:34.154 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:49:37 -0400 (0:00:01.548) 0:00:35.702 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:49:39 -0400 (0:00:01.486) 0:00:37.189 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.127) 0:00:37.316 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.105) 0:00:37.422 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.065) 0:00:37.487 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.057) 0:00:37.545 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.055) 0:00:37.601 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.042) 0:00:37.643 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.047) 0:00:37.691 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.072) 0:00:37.763 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.033) 0:00:37.797 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.077) 0:00:37.874 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:49:39 -0400 (0:00:00.061) 0:00:37.936 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:49:40 -0400 (0:00:00.560) 0:00:38.496 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:49:40 -0400 (0:00:00.067) 0:00:38.564 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:49:40 -0400 (0:00:00.055) 0:00:38.619 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:49:40 -0400 (0:00:00.044) 0:00:38.664 **** 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, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:49:41 -0400 (0:00:00.517) 0:00:39.181 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:49:41 -0400 (0:00:00.045) 0:00:39.226 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:49:41 -0400 (0:00:00.050) 0:00:39.277 **** 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, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5f04ec5c-8f5d-44d2-bd0e-b86792abc251 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:49:41 -0400 (0:00:00.049) 0:00:39.327 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:49:41 -0400 (0:00:00.032) 0:00:39.359 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:49:41 -0400 (0:00:00.330) 0:00:39.690 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:49:41 -0400 (0:00:00.135) 0:00:39.825 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:49:41 -0400 (0:00:00.074) 0:00:39.900 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726922974.675093, "block_size": 4096, "blocks": 0, "ctime": 1726922974.675093, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36301, "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": 1726922974.675093, "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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:49:42 -0400 (0:00:00.333) 0:00:40.234 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:49:42 -0400 (0:00:00.035) 0:00:40.269 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:49:42 -0400 (0:00:00.074) 0:00:40.344 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:49:42 -0400 (0:00:00.058) 0:00:40.403 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726922974.7109902, "block_size": 4096, "blocks": 8, "ctime": 1726922974.67299, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726922974.67299, "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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:49:42 -0400 (0:00:00.553) 0:00:40.957 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:49:42 -0400 (0:00:00.075) 0:00:41.033 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016142", "end": "2024-09-21 08:49:43.370604", "rc": 0, "start": "2024-09-21 08:49:43.354462" } 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.550) 0:00:41.583 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.048) 0:00:41.631 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.038) 0:00:41.669 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.044) 0:00:41.714 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.075) 0:00:41.789 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.036) 0:00:41.826 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.036) 0:00:41.863 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.036) 0:00:41.900 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.034) 0:00:41.934 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.030) 0:00:41.964 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.034) 0:00:41.999 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:49:43 -0400 (0:00:00.072) 0:00:42.072 **** 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.055766", "end": "2024-09-21 08:49:44.375685", "rc": 1, "start": "2024-09-21 08:49:44.319919" } STDOUT: Connection 'statebr' (5f04ec5c-8f5d-44d2-bd0e-b86792abc251) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 September 2024 08:49:44 -0400 (0:00:00.498) 0:00:42.570 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:49:44 -0400 (0:00:00.098) 0:00:42.668 **** ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:49:44 -0400 (0:00:00.067) 0:00:42.736 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:49:44 -0400 (0:00:00.100) 0:00:42.836 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:49:44 -0400 (0:00:00.078) 0:00:42.915 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:49:44 -0400 (0:00:00.127) 0:00:43.042 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002849", "end": "2024-09-21 08:49:45.200787", "rc": 0, "start": "2024-09-21 08:49:45.197938" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.414) 0:00:43.457 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.116) 0:00:43.574 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.060) 0:00:43.634 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.120) 0:00:43.755 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.081) 0:00:43.836 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.083) 0:00:43.919 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.040) 0:00:43.960 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.033) 0:00:43.993 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:49:45 -0400 (0:00:00.031) 0:00:44.025 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:49:47 -0400 (0:00:01.600) 0:00:45.625 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:49:48 -0400 (0:00:01.418) 0:00:47.044 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:49:48 -0400 (0:00:00.055) 0:00:47.099 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.053) 0:00:47.153 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.051) 0:00:47.205 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.041) 0:00:47.247 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.095) 0:00:47.342 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.062) 0:00:47.404 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.058) 0:00:47.463 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.137) 0:00:47.600 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.060) 0:00:47.661 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.059) 0:00:47.721 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:49:49 -0400 (0:00:00.060) 0:00:47.782 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.584) 0:00:48.366 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.048) 0:00:48.415 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.042) 0:00:48.457 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.040) 0:00:48.498 **** 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, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.557) 0:00:49.055 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.051) 0:00:49.107 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.047) 0:00:49.155 **** 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, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.152) 0:00:49.307 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.126) 0:00:49.433 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.420) 0:00:49.854 **** 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, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.037) 0:00:49.892 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.058) 0:00:49.950 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.066) 0:00:50.017 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.044) 0:00:50.061 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.036) 0:00:50.098 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:49:52 -0400 (0:00:00.038) 0:00:50.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 : Check which packages are installed] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:49:53 -0400 (0:00:01.571) 0:00:51.707 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:49:54 -0400 (0:00:01.363) 0:00:53.071 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:49:54 -0400 (0:00:00.035) 0:00:53.107 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.035) 0:00:53.143 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.035) 0:00:53.179 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.034) 0:00:53.213 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.043) 0:00:53.257 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.034) 0:00:53.291 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.039) 0:00:53.331 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.123) 0:00:53.455 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.034) 0:00:53.490 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.034) 0:00:53.524 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.038) 0:00:53.563 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:49:55 -0400 (0:00:00.522) 0:00:54.086 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:49:56 -0400 (0:00:00.065) 0:00:54.151 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:49:56 -0400 (0:00:00.051) 0:00:54.203 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:49:56 -0400 (0:00:00.054) 0:00:54.258 **** 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, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:49:56 -0400 (0:00:00.588) 0:00:54.847 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:49:56 -0400 (0:00:00.033) 0:00:54.881 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:49:56 -0400 (0:00:00.035) 0:00:54.916 **** 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, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:49:56 -0400 (0:00:00.034) 0:00:54.951 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:49:56 -0400 (0:00:00.033) 0:00:54.984 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:49:57 -0400 (0:00:00.359) 0:00:55.343 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:49:57 -0400 (0:00:00.061) 0:00:55.405 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:49:57 -0400 (0:00:00.066) 0:00:55.472 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:49:57 -0400 (0:00:00.090) 0:00:55.562 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:49:57 -0400 (0:00:00.070) 0:00:55.632 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:49:57 -0400 (0:00:00.061) 0:00:55.693 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:49:57 -0400 (0:00:00.044) 0:00:55.738 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:49:59 -0400 (0:00:01.555) 0:00:57.294 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:00 -0400 (0:00:01.448) 0:00:58.743 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:00 -0400 (0:00:00.048) 0:00:58.792 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:00 -0400 (0:00:00.035) 0:00:58.827 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:00 -0400 (0:00:00.043) 0:00:58.871 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:00 -0400 (0:00:00.033) 0:00:58.904 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:00 -0400 (0:00:00.044) 0:00:58.949 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:00 -0400 (0:00:00.034) 0:00:58.984 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:00 -0400 (0:00:00.038) 0:00:59.023 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:00 -0400 (0:00:00.067) 0:00:59.091 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:01 -0400 (0:00:00.078) 0:00:59.169 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:01 -0400 (0:00:00.052) 0:00:59.222 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:01 -0400 (0:00:00.061) 0:00:59.283 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:01 -0400 (0:00:00.546) 0:00:59.830 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:01 -0400 (0:00:00.053) 0:00:59.883 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:01 -0400 (0:00:00.061) 0:00:59.945 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:01 -0400 (0:00:00.065) 0:01:00.010 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:02 -0400 (0:00:00.870) 0:01:00.880 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:02 -0400 (0:00:00.062) 0:01:00.942 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:02 -0400 (0:00:00.107) 0:01:01.050 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:02 -0400 (0:00:00.060) 0:01:01.110 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:03 -0400 (0:00:00.044) 0:01:01.155 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:50:03 -0400 (0:00:00.390) 0:01:01.546 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:50:03 -0400 (0:00:00.179) 0:01:01.725 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:50:03 -0400 (0:00:00.104) 0:01:01.830 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726922990.811506, "block_size": 4096, "blocks": 0, "ctime": 1726922990.811506, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36432, "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": 1726922990.811506, "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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:50:04 -0400 (0:00:00.483) 0:01:02.314 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:50:04 -0400 (0:00:00.055) 0:01:02.370 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:50:04 -0400 (0:00:00.085) 0:01:02.456 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:50:04 -0400 (0:00:00.044) 0:01:02.500 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:50:04 -0400 (0:00:00.405) 0:01:02.905 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:50:04 -0400 (0:00:00.095) 0:01:03.001 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017125", "end": "2024-09-21 08:50:05.224020", "rc": 1, "start": "2024-09-21 08:50:05.206895" } 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.412) 0:01:03.413 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.052) 0:01:03.466 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.055) 0:01:03.521 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.129) 0:01:03.651 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.059) 0:01:03.710 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.062) 0:01:03.773 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.062) 0:01:03.835 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.041) 0:01:03.876 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.040) 0:01:03.917 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.076) 0:01:03.994 **** 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.066455", "end": "2024-09-21 08:50:06.254165", "rc": 1, "start": "2024-09-21 08:50:06.187710" } STDOUT: Connection 'statebr' (08fc8e4f-8b8f-4ade-a955-b5f0d7a960ca) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 September 2024 08:50:06 -0400 (0:00:00.453) 0:01:04.447 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:50:06 -0400 (0:00:00.060) 0:01:04.507 **** ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:50:06 -0400 (0:00:00.036) 0:01:04.543 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:50:06 -0400 (0:00:00.090) 0:01:04.634 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:50:06 -0400 (0:00:00.086) 0:01:04.720 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:50:06 -0400 (0:00:00.144) 0:01:04.865 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002882", "end": "2024-09-21 08:50:07.092428", "rc": 0, "start": "2024-09-21 08:50:07.089546" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.513) 0:01:05.378 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.056) 0:01:05.435 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.054) 0:01:05.490 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.139) 0:01:05.630 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.113) 0:01:05.743 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.112) 0:01:05.856 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.079) 0:01:05.936 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.053) 0:01:05.990 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.053) 0:01:06.043 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:09 -0400 (0:00:01.708) 0:01:07.751 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:11 -0400 (0:00:01.380) 0:01:09.131 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.035) 0:01:09.166 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.036) 0:01:09.203 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.055) 0:01:09.258 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.053) 0:01:09.312 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.050) 0:01:09.363 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.035) 0:01:09.398 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.082) 0:01:09.481 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.072) 0:01:09.553 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.033) 0:01:09.587 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.033) 0:01:09.620 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.038) 0:01:09.659 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.574) 0:01:10.233 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.102) 0:01:10.335 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.066) 0:01:10.402 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.055) 0:01:10.457 **** 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, c1889333-9014-4646-9315-99501b49489c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.629) 0:01:11.087 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.040) 0:01:11.127 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1889333-9014-4646-9315-99501b49489c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.048) 0:01:11.176 **** 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, c1889333-9014-4646-9315-99501b49489c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1889333-9014-4646-9315-99501b49489c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.041) 0:01:11.217 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.033) 0:01:11.250 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.356) 0:01:11.607 **** 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, c1889333-9014-4646-9315-99501b49489c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1889333-9014-4646-9315-99501b49489c" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.045) 0:01:11.653 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.062) 0:01:11.715 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.066) 0:01:11.781 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.042) 0:01:11.824 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.040) 0:01:11.864 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:13 -0400 (0:00:00.042) 0:01:11.906 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:15 -0400 (0:00:01.534) 0:01:13.441 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:16 -0400 (0:00:01.381) 0:01:14.823 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.040) 0:01:14.863 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.036) 0:01:14.900 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.032) 0:01:14.933 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.033) 0:01:14.967 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.040) 0:01:15.008 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.032) 0:01:15.040 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.038) 0:01:15.079 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.099) 0:01:15.178 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.033) 0:01:15.212 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.033) 0:01:15.246 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.039) 0:01:15.285 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.520) 0:01:15.805 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.072) 0:01:15.877 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.052) 0:01:15.929 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:17 -0400 (0:00:00.059) 0:01:15.989 **** 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, c1889333-9014-4646-9315-99501b49489c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:18 -0400 (0:00:00.667) 0:01:16.657 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:18 -0400 (0:00:00.092) 0:01:16.749 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1889333-9014-4646-9315-99501b49489c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:18 -0400 (0:00:00.139) 0:01:16.888 **** 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, c1889333-9014-4646-9315-99501b49489c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1889333-9014-4646-9315-99501b49489c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:18 -0400 (0:00:00.099) 0:01:16.988 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:18 -0400 (0:00:00.064) 0:01:17.053 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.394) 0:01:17.448 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.135) 0:01:17.583 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.101) 0:01:17.685 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.067) 0:01:17.753 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.043) 0:01:17.797 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:19 -0400 (0:00:00.040) 0:01:17.837 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:21 -0400 (0:00:01.587) 0:01:19.425 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:22 -0400 (0:00:01.458) 0:01:20.883 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.038) 0:01:20.922 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.033) 0:01:20.956 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.033) 0:01:20.990 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.035) 0:01:21.026 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.041) 0:01:21.068 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.043) 0:01:21.112 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.059) 0:01:21.171 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.097) 0:01:21.268 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.045) 0:01:21.314 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.047) 0:01:21.362 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.087) 0:01:21.450 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.563) 0:01:22.013 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.039) 0:01:22.053 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.033) 0:01:22.086 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.033) 0:01:22.120 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:24 -0400 (0:00:00.517) 0:01:22.638 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:24 -0400 (0:00:00.052) 0:01:22.690 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:24 -0400 (0:00:00.050) 0:01:22.741 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:24 -0400 (0:00:00.066) 0:01:22.807 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:24 -0400 (0:00:00.054) 0:01:22.862 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:50:25 -0400 (0:00:00.400) 0:01:23.263 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:50:25 -0400 (0:00:00.100) 0:01:23.363 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:25 -0400 (0:00:00.155) 0:01:23.519 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:25 -0400 (0:00:00.105) 0:01:23.624 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:25 -0400 (0:00:00.046) 0:01:23.670 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:25 -0400 (0:00:00.055) 0:01:23.726 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:25 -0400 (0:00:00.044) 0:01:23.771 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:27 -0400 (0:00:01.509) 0:01:25.280 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:28 -0400 (0:00:01.399) 0:01:26.680 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.037) 0:01:26.717 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.034) 0:01:26.752 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.045) 0:01:26.797 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.034) 0:01:26.832 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.041) 0:01:26.874 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.037) 0:01:26.911 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.040) 0:01:26.952 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.069) 0:01:27.022 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.035) 0:01:27.057 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.035) 0:01:27.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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.039) 0:01:27.131 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.605) 0:01:27.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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.078) 0:01:27.815 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.045) 0:01:27.861 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.038) 0:01:27.900 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.560) 0:01:28.460 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.035) 0:01:28.496 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.036) 0:01:28.532 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.037) 0:01:28.569 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.033) 0:01:28.603 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.405) 0:01:29.008 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.102) 0:01:29.110 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.137) 0:01:29.248 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.056) 0:01:29.305 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.376) 0:01:29.681 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.034) 0:01:29.716 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015548", "end": "2024-09-21 08:50:31.880026", "rc": 1, "start": "2024-09-21 08:50:31.864478" } 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.358) 0:01:30.074 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.042) 0:01:30.117 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.041) 0:01:30.158 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.035) 0:01:30.194 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.035) 0:01:30.229 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.034) 0:01:30.263 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.037) 0:01:30.301 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.085) 0:01:30.386 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.134) 0:01:30.521 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.355) 0:01:30.877 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.065) 0:01:30.943 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.056) 0:01:30.999 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.121) 0:01:31.121 **** 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.032282", "end": "2024-09-21 08:50:33.398064", "rc": 1, "start": "2024-09-21 08:50:33.365782" } 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.501) 0:01:31.623 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.134) 0:01:31.757 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.060) 0:01:31.818 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.131) 0:01:31.949 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.105) 0:01:32.055 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.103) 0:01:32.159 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002745", "end": "2024-09-21 08:50:34.317847", "rc": 0, "start": "2024-09-21 08:50:34.315102" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.384) 0:01:32.543 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.045) 0:01:32.589 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.049) 0:01:32.638 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.088) 0:01:32.726 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.060) 0:01:32.787 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.084) 0:01:32.872 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.067) 0:01:32.939 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.057) 0:01:32.997 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.068) 0:01:33.066 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:36 -0400 (0:00:01.663) 0:01:34.729 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:38 -0400 (0:00:01.646) 0:01:36.376 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.060) 0:01:36.436 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.050) 0:01:36.487 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.050) 0:01:36.538 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.037) 0:01:36.576 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.045) 0:01:36.621 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.076) 0:01:36.698 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.041) 0:01:36.739 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.069) 0:01:36.809 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.032) 0:01:36.842 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.036) 0:01:36.879 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:38 -0400 (0:00:00.056) 0:01:36.936 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.563) 0:01:37.499 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.066) 0:01:37.566 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.059) 0:01:37.625 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.080) 0:01:37.705 **** 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, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.639) 0:01:38.345 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.036) 0:01:38.381 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.035) 0:01:38.417 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.036) 0:01:38.453 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.063) 0:01:38.516 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.384) 0:01:38.900 **** 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, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.052) 0:01:38.953 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.077) 0:01:39.030 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.092) 0:01:39.122 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.043) 0:01:39.165 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.033) 0:01:39.199 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.032) 0:01:39.231 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:42 -0400 (0:00:01.509) 0:01:40.740 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:44 -0400 (0:00:01.414) 0:01:42.155 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.040) 0:01:42.195 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.033) 0:01:42.228 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.042) 0:01:42.271 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.047) 0:01:42.318 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.045) 0:01:42.364 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.034) 0:01:42.399 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.039) 0:01:42.438 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.067) 0:01:42.506 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.063) 0:01:42.569 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.034) 0:01:42.603 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.037) 0:01:42.641 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.510) 0:01:43.152 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.041) 0:01:43.194 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.034) 0:01:43.229 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.033) 0:01:43.262 **** 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, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.592) 0:01:43.855 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.056) 0:01:43.912 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.054) 0:01:43.967 **** 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, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5d6a3073-a4b4-4306-ba2f-a0cf8c4683d5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.056) 0:01:44.023 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.039) 0:01:44.063 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.410) 0:01:44.474 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.090) 0:01:44.565 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.093) 0:01:44.659 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.060) 0:01:44.719 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.045) 0:01:44.764 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.036) 0:01:44.801 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:48 -0400 (0:00:01.505) 0:01:46.307 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:49 -0400 (0:00:01.440) 0:01:47.747 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.035) 0:01:47.783 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.032) 0:01:47.816 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.033) 0:01:47.849 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.032) 0:01:47.882 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.042) 0:01:47.924 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.034) 0:01:47.959 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.038) 0:01:47.997 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.068) 0:01:48.065 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.033) 0:01:48.099 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.033) 0:01:48.132 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.093) 0:01:48.225 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.499) 0:01:48.725 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.040) 0:01:48.766 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.033) 0:01:48.799 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.035) 0:01:48.834 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.559) 0:01:49.394 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.036) 0:01:49.431 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.038) 0:01:49.469 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.051) 0:01:49.521 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.037) 0:01:49.558 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.341) 0:01:49.899 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.132) 0:01:50.032 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.084) 0:01:50.117 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.081) 0:01:50.199 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.046) 0:01:50.245 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.034) 0:01:50.279 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.032) 0:01:50.312 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:53 -0400 (0:00:01.498) 0:01:51.811 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:55 -0400 (0:00:01.403) 0:01:53.214 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.034) 0:01:53.249 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.033) 0:01:53.282 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.032) 0:01:53.315 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.033) 0:01:53.348 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.040) 0:01:53.389 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.032) 0:01:53.421 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.041) 0:01:53.462 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.067) 0:01:53.530 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.033) 0:01:53.563 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.070) 0:01:53.633 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.053) 0:01:53.686 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.559) 0:01:54.246 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.040) 0:01:54.287 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.033) 0:01:54.320 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.033) 0:01:54.354 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.494) 0:01:54.849 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.035) 0:01:54.884 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.036) 0:01:54.921 **** 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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.035) 0:01:54.956 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.033) 0:01:54.989 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.355) 0:01:55.345 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.152) 0:01:55.497 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.101) 0:01:55.599 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.059) 0:01:55.658 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.423) 0:01:56.081 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.041) 0:01:56.123 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015980", "end": "2024-09-21 08:50:58.322360", "rc": 1, "start": "2024-09-21 08:50:58.306380" } 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.385) 0:01:56.508 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.035) 0:01:56.544 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.034) 0:01:56.578 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.038) 0:01:56.616 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.035) 0:01:56.651 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.034) 0:01:56.686 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.057) 0:01:56.743 **** [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.844231", "end": "2024-09-21 08:50:59.767019", "rc": 0, "start": "2024-09-21 08:50:58.922788" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 September 2024 08:50:59 -0400 (0:00:01.211) 0:01:57.955 **** ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 September 2024 08:50:59 -0400 (0:00:00.035) 0:01:57.991 **** ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:50:59 -0400 (0:00:00.036) 0:01:58.028 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:50:59 -0400 (0:00:00.088) 0:01:58.116 **** included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.095) 0:01:58.211 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.378) 0:01:58.590 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.040) 0:01:58.631 **** 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.035) 0:01:58.666 **** included: /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.122) 0:01:58.789 **** 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.033932", "end": "2024-09-21 08:51:01.026353", "rc": 1, "start": "2024-09-21 08:51:00.992421" } 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.424) 0:01:59.213 **** 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.007918", "end": "2024-09-21 08:51:01.380575", "rc": 0, "start": "2024-09-21 08:51:01.372657" } 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:d9:6b:3a:59 brd ff:ff:ff:ff:ff:ff inet 10.31.13.101/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2764sec preferred_lft 2764sec inet6 fe80::8ff:d9ff:fe6b:3a59/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.101 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.101 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-sDr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.380) 0:01:59.594 **** 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.156441", "end": "2024-09-21 08:51:01.929406", "rc": 0, "start": "2024-09-21 08:51:01.772965" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3388 0 --:--:-- --:--:-- --:--:-- 3388 % 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 6767 0 --:--:-- --:--:-- --:--:-- 6767 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 September 2024 08:51:01 -0400 (0:00:00.503) 0:02:00.097 **** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-sDr/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-sDr/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-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-sDr/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-sDr/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-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-sDr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26