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-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 07 December 2024 08:02:45 -0500 (0:00:00.042) 0:00:00.042 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 07 December 2024 08:02:46 -0500 (0:00:01.282) 0:00:01.324 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 07 December 2024 08:02:46 -0500 (0:00:00.049) 0:00:01.374 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 07 December 2024 08:02:47 -0500 (0:00:00.496) 0:00:01.870 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 07 December 2024 08:02:47 -0500 (0:00:00.485) 0:00:02.355 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 07 December 2024 08:02:47 -0500 (0:00:00.042) 0:00:02.398 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 07 December 2024 08:02:47 -0500 (0:00:00.051) 0:00:02.450 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 07 December 2024 08:02:48 -0500 (0:00:00.111) 0:00:02.561 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 07 December 2024 08:02:48 -0500 (0:00:00.537) 0:00:03.098 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 07 December 2024 08:02:48 -0500 (0:00:00.019) 0:00:03.118 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 07 December 2024 08:02:48 -0500 (0:00:00.022) 0:00:03.140 ***** [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.224255", "end": "2024-12-07 08:02:49.125861", "rc": 0, "start": "2024-12-07 08:02:48.901606" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.591) 0:00:03.731 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.016) 0:00:03.748 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.019) 0:00:03.767 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.670) 0:00:04.437 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.024) 0:00:04.461 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.086) 0:00:04.548 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.029) 0:00:04.578 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.089) 0:00:04.667 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.037) 0:00:04.705 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.032) 0:00:04.737 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002658", "end": "2024-12-07 08:02:50.544739", "rc": 0, "start": "2024-12-07 08:02:50.542081" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.466) 0:00:05.204 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.077) 0:00:05.281 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.037) 0:00:05.319 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.056) 0:00:05.375 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007713", "end": "2024-12-07 08:02:51.172577", "rc": 1, "start": "2024-12-07 08:02:51.164864" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.406) 0:00:05.781 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.029) 0:00:05.811 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.390) 0:00:06.201 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.033) 0:00:06.235 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.045) 0:00:06.281 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.163) 0:00:06.444 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.056) 0:00:06.500 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.027) 0:00:06.528 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.025) 0:00:06.553 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:02:52 -0500 (0:00:00.021) 0:00:06.575 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:02:53 -0500 (0:00:01.720) 0:00:08.296 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:02:55 -0500 (0:00:02.078) 0:00:10.375 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:02:55 -0500 (0:00:00.070) 0:00:10.445 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:02:55 -0500 (0:00:00.069) 0:00:10.514 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.056) 0:00:10.571 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.044) 0:00:10.615 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.051) 0:00:10.666 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.037) 0:00:10.704 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.042) 0:00:10.746 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.074) 0:00:10.820 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.052) 0:00:10.873 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.055) 0:00:10.928 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:02:56 -0500 (0:00:00.071) 0:00:11.000 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.922) 0:00:11.922 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.107) 0:00:12.030 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.054) 0:00:12.085 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.058) 0:00:12.144 ***** 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, a114e762-6fb8-4605-8813-7e44d4e45139 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.927) 0:00:13.071 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.070) 0:00:13.141 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a114e762-6fb8-4605-8813-7e44d4e45139" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.090) 0:00:13.232 ***** 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, a114e762-6fb8-4605-8813-7e44d4e45139\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a114e762-6fb8-4605-8813-7e44d4e45139" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.152) 0:00:13.384 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.123) 0:00:13.508 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.587) 0:00:14.095 ***** 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, a114e762-6fb8-4605-8813-7e44d4e45139\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a114e762-6fb8-4605-8813-7e44d4e45139" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.057) 0:00:14.153 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.107) 0:00:14.261 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.147) 0:00:14.408 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.057) 0:00:14.466 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576578.40358, "block_size": 4096, "blocks": 8, "ctime": 1733576578.3625796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576578.3625796, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.405) 0:00:14.872 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.038) 0:00:14.911 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018557", "end": "2024-12-07 08:03:00.670462", "rc": 0, "start": "2024-12-07 08:03:00.651905" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.386) 0:00:15.297 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.067) 0:00:15.365 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.046) 0:00:15.411 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.066) 0:00:15.478 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.066) 0:00:15.544 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.063) 0:00:15.608 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.065) 0:00:15.674 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.049) 0:00:15.723 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.047) 0:00:15.771 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.110) 0:00:15.881 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.060) 0:00:15.941 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576578.364582, "block_size": 4096, "blocks": 0, "ctime": 1733576578.364582, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37250, "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": 1733576578.364582, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.387) 0:00:16.329 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.050) 0:00:16.379 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.051) 0:00:16.431 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:03:01 -0500 (0:00:00.076) 0:00:16.507 ***** 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.054776", "end": "2024-12-07 08:03:02.301839", "rc": 1, "start": "2024-12-07 08:03:02.247063" } STDOUT: Connection 'statebr' (a114e762-6fb8-4605-8813-7e44d4e45139) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 07 December 2024 08:03:02 -0500 (0:00:00.417) 0:00:16.925 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:03:02 -0500 (0:00:00.063) 0:00:16.988 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:03:02 -0500 (0:00:00.066) 0:00:17.054 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:03:02 -0500 (0:00:00.110) 0:00:17.164 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:03:02 -0500 (0:00:00.142) 0:00:17.307 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:03:02 -0500 (0:00:00.096) 0:00:17.403 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003264", "end": "2024-12-07 08:03:03.200488", "rc": 0, "start": "2024-12-07 08:03:03.197224" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.489) 0:00:17.893 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.101) 0:00:17.995 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.088) 0:00:18.083 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.179) 0:00:18.263 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005452", "end": "2024-12-07 08:03:04.254497", "rc": 1, "start": "2024-12-07 08:03:04.249045" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.645) 0:00:18.909 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.071) 0:00:18.981 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.392) 0:00:19.374 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.079) 0:00:19.454 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 07 December 2024 08:03:05 -0500 (0:00:00.113) 0:00:19.567 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:05 -0500 (0:00:00.096) 0:00:19.664 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:05 -0500 (0:00:00.100) 0:00:19.764 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:05 -0500 (0:00:00.082) 0:00:19.846 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:05 -0500 (0:00:00.074) 0:00:19.920 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:05 -0500 (0:00:00.073) 0:00:19.993 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:07 -0500 (0:00:01.735) 0:00:21.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:08 -0500 (0:00:01.565) 0:00:23.294 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:08 -0500 (0:00:00.073) 0:00:23.367 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:08 -0500 (0:00:00.043) 0:00:23.410 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:08 -0500 (0:00:00.044) 0:00:23.455 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:08 -0500 (0:00:00.047) 0:00:23.502 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:08 -0500 (0:00:00.051) 0:00:23.554 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.035) 0:00:23.590 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.042) 0:00:23.632 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.072) 0:00:23.705 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.035) 0:00:23.740 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.036) 0:00:23.777 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.042) 0:00:23.820 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.598) 0:00:24.418 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.057) 0:00:24.476 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.042) 0:00:24.518 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:09 -0500 (0:00:00.035) 0:00:24.554 ***** 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, ddfc0b50-a3e2-4c37-a156-f3cc4f989def TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.557) 0:00:25.111 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.062) 0:00:25.173 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddfc0b50-a3e2-4c37-a156-f3cc4f989def" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.063) 0:00:25.236 ***** 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, ddfc0b50-a3e2-4c37-a156-f3cc4f989def\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddfc0b50-a3e2-4c37-a156-f3cc4f989def" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.060) 0:00:25.297 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.056) 0:00:25.354 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 07 December 2024 08:03:11 -0500 (0:00:00.441) 0:00:25.796 ***** 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, ddfc0b50-a3e2-4c37-a156-f3cc4f989def\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddfc0b50-a3e2-4c37-a156-f3cc4f989def" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:03:11 -0500 (0:00:00.077) 0:00:25.873 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 08:03:11 -0500 (0:00:00.166) 0:00:26.039 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:03:11 -0500 (0:00:00.107) 0:00:26.147 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 08:03:12 -0500 (0:00:00.488) 0:00:26.636 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 08:03:12 -0500 (0:00:00.098) 0:00:26.735 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:03:12 -0500 (0:00:00.141) 0:00:26.876 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:03:12 -0500 (0:00:00.043) 0:00:26.919 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576590.455685, "block_size": 4096, "blocks": 8, "ctime": 1733576590.455685, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576590.455685, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:03:12 -0500 (0:00:00.390) 0:00:27.310 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:03:12 -0500 (0:00:00.056) 0:00:27.367 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019787", "end": "2024-12-07 08:03:13.190094", "rc": 0, "start": "2024-12-07 08:03:13.170307" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.489) 0:00:27.856 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.066) 0:00:27.923 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.070) 0:00:27.993 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.087) 0:00:28.081 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.049) 0:00:28.130 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.047) 0:00:28.178 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.046) 0:00:28.224 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.063) 0:00:28.287 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.063) 0:00:28.351 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.057) 0:00:28.408 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.096) 0:00:28.505 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.187) 0:00:28.692 ***** 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.036957", "end": "2024-12-07 08:03:14.588451", "rc": 1, "start": "2024-12-07 08:03:14.551494" } STDOUT: Connection 'statebr' (ddfc0b50-a3e2-4c37-a156-f3cc4f989def) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.516) 0:00:29.209 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.077) 0:00:29.287 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.061) 0:00:29.349 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.171) 0:00:29.521 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:03:15 -0500 (0:00:00.139) 0:00:29.660 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:03:15 -0500 (0:00:00.066) 0:00:29.727 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003493", "end": "2024-12-07 08:03:15.471111", "rc": 0, "start": "2024-12-07 08:03:15.467618" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:03:15 -0500 (0:00:00.385) 0:00:30.113 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:03:15 -0500 (0:00:00.055) 0:00:30.168 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:03:15 -0500 (0:00:00.055) 0:00:30.224 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:03:15 -0500 (0:00:00.108) 0:00:30.333 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:15 -0500 (0:00:00.103) 0:00:30.436 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:15 -0500 (0:00:00.113) 0:00:30.550 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:16 -0500 (0:00:00.060) 0:00:30.611 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:16 -0500 (0:00:00.058) 0:00:30.669 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:16 -0500 (0:00:00.057) 0:00:30.727 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:17 -0500 (0:00:01.659) 0:00:32.386 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:19 -0500 (0:00:01.632) 0:00:34.019 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:19 -0500 (0:00:00.056) 0:00:34.075 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:19 -0500 (0:00:00.070) 0:00:34.146 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:19 -0500 (0:00:00.103) 0:00:34.250 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:19 -0500 (0:00:00.058) 0:00:34.309 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:19 -0500 (0:00:00.067) 0:00:34.376 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:19 -0500 (0:00:00.069) 0:00:34.445 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:19 -0500 (0:00:00.069) 0:00:34.514 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.112) 0:00:34.627 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.059) 0:00:34.686 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.063) 0:00:34.749 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.122) 0:00:34.871 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.676) 0:00:35.548 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.107) 0:00:35.655 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.109) 0:00:35.765 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.120) 0:00:35.885 ***** 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, f6966023-07ad-4ac8-83a3-5dd5f415f86a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.658) 0:00:36.544 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.103) 0:00:36.648 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6966023-07ad-4ac8-83a3-5dd5f415f86a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.068) 0:00:36.716 ***** 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, f6966023-07ad-4ac8-83a3-5dd5f415f86a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6966023-07ad-4ac8-83a3-5dd5f415f86a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.063) 0:00:36.779 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.044) 0:00:36.824 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.452) 0:00:37.276 ***** 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, f6966023-07ad-4ac8-83a3-5dd5f415f86a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6966023-07ad-4ac8-83a3-5dd5f415f86a" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.064) 0:00:37.341 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.096) 0:00:37.437 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.088) 0:00:37.526 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.098) 0:00:37.625 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.076) 0:00:37.702 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.058) 0:00:37.760 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.061) 0:00:37.822 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:25 -0500 (0:00:01.787) 0:00:39.609 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:26 -0500 (0:00:01.472) 0:00:41.082 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.038) 0:00:41.121 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.049) 0:00:41.171 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.068) 0:00:41.239 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.036) 0:00:41.275 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.045) 0:00:41.321 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.038) 0:00:41.359 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.042) 0:00:41.401 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.073) 0:00:41.474 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:26 -0500 (0:00:00.039) 0:00:41.514 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:27 -0500 (0:00:00.052) 0:00:41.567 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:27 -0500 (0:00:00.115) 0:00:41.682 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:27 -0500 (0:00:00.672) 0:00:42.355 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:27 -0500 (0:00:00.048) 0:00:42.403 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:27 -0500 (0:00:00.041) 0:00:42.445 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:27 -0500 (0:00:00.041) 0:00:42.487 ***** 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, f6966023-07ad-4ac8-83a3-5dd5f415f86a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:28 -0500 (0:00:00.548) 0:00:43.036 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:28 -0500 (0:00:00.111) 0:00:43.147 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6966023-07ad-4ac8-83a3-5dd5f415f86a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:28 -0500 (0:00:00.107) 0:00:43.254 ***** 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, f6966023-07ad-4ac8-83a3-5dd5f415f86a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6966023-07ad-4ac8-83a3-5dd5f415f86a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:28 -0500 (0:00:00.090) 0:00:43.345 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:28 -0500 (0:00:00.062) 0:00:43.408 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.434) 0:00:43.843 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.158) 0:00:44.001 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.094) 0:00:44.096 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576601.8290963, "block_size": 4096, "blocks": 0, "ctime": 1733576601.8290963, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37381, "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": 1733576601.8290963, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.499) 0:00:44.595 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.044) 0:00:44.639 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.099) 0:00:44.739 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.063) 0:00:44.802 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576601.8277838, "block_size": 4096, "blocks": 8, "ctime": 1733576601.826784, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576601.826784, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.426) 0:00:45.229 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.061) 0:00:45.290 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018442", "end": "2024-12-07 08:03:31.188837", "rc": 0, "start": "2024-12-07 08:03:31.170395" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.523) 0:00:45.814 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.041) 0:00:45.856 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.050) 0:00:45.906 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.058) 0:00:45.964 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.077) 0:00:46.042 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.112) 0:00:46.154 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.127) 0:00:46.282 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.100) 0:00:46.383 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.063) 0:00:46.446 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.048) 0:00:46.495 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.053) 0:00:46.549 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.079) 0:00:46.628 ***** 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.063911", "end": "2024-12-07 08:03:32.495459", "rc": 1, "start": "2024-12-07 08:03:32.431548" } STDOUT: Connection 'statebr' (f6966023-07ad-4ac8-83a3-5dd5f415f86a) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.521) 0:00:47.149 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.113) 0:00:47.263 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.065) 0:00:47.328 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.096) 0:00:47.425 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.080) 0:00:47.506 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.091) 0:00:47.598 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002457", "end": "2024-12-07 08:03:33.353106", "rc": 0, "start": "2024-12-07 08:03:33.350649" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.376) 0:00:47.974 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.039) 0:00:48.014 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.038) 0:00:48.052 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.068) 0:00:48.121 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.098) 0:00:48.220 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.100) 0:00:48.321 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.072) 0:00:48.393 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.054) 0:00:48.447 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:33 -0500 (0:00:00.046) 0:00:48.494 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:35 -0500 (0:00:01.587) 0:00:50.081 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:37 -0500 (0:00:01.601) 0:00:51.683 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.049) 0:00:51.732 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.036) 0:00:51.769 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.037) 0:00:51.806 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.036) 0:00:51.843 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.046) 0:00:51.890 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.045) 0:00:51.935 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.071) 0:00:52.007 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.122) 0:00:52.129 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.049) 0:00:52.178 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.053) 0:00:52.232 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.053) 0:00:52.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:38 -0500 (0:00:00.600) 0:00:52.886 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:38 -0500 (0:00:00.049) 0:00:52.935 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:38 -0500 (0:00:00.038) 0:00:52.974 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:38 -0500 (0:00:00.036) 0:00:53.011 ***** 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, f9b563da-63b8-4311-8986-4ec9aaecf03b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.678) 0:00:53.690 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.099) 0:00:53.789 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9b563da-63b8-4311-8986-4ec9aaecf03b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.054) 0:00:53.843 ***** 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, f9b563da-63b8-4311-8986-4ec9aaecf03b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9b563da-63b8-4311-8986-4ec9aaecf03b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.049) 0:00:53.893 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.045) 0:00:53.938 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.442) 0:00:54.381 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9b563da-63b8-4311-8986-4ec9aaecf03b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9b563da-63b8-4311-8986-4ec9aaecf03b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.073) 0:00:54.454 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:40 -0500 (0:00:00.106) 0:00:54.561 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:40 -0500 (0:00:00.135) 0:00:54.696 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:40 -0500 (0:00:00.048) 0:00:54.745 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:40 -0500 (0:00:00.037) 0:00:54.782 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:40 -0500 (0:00:00.054) 0:00:54.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:41 -0500 (0:00:01.555) 0:00:56.392 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:43 -0500 (0:00:01.530) 0:00:57.923 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.063) 0:00:57.986 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.065) 0:00:58.051 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.064) 0:00:58.116 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.056) 0:00:58.172 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.071) 0:00:58.244 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.058) 0:00:58.302 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.063) 0:00:58.366 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.109) 0:00:58.476 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.056) 0:00:58.533 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.055) 0:00:58.588 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.062) 0:00:58.650 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.586) 0:00:59.237 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.081) 0:00:59.319 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.109) 0:00:59.429 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.064) 0:00:59.493 ***** 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, f9b563da-63b8-4311-8986-4ec9aaecf03b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.539) 0:01:00.033 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.039) 0:01:00.072 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f9b563da-63b8-4311-8986-4ec9aaecf03b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.043) 0:01:00.116 ***** 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, f9b563da-63b8-4311-8986-4ec9aaecf03b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f9b563da-63b8-4311-8986-4ec9aaecf03b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.037) 0:01:00.153 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.035) 0:01:00.188 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.374) 0:01:00.562 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.088) 0:01:00.651 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.084) 0:01:00.735 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.113) 0:01:00.849 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.047) 0:01:00.897 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.037) 0:01:00.934 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.054) 0:01:00.989 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:47 -0500 (0:00:01.559) 0:01:02.548 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:49 -0500 (0:00:01.448) 0:01:03.996 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.042) 0:01:04.039 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.043) 0:01:04.083 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.034) 0:01:04.117 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.035) 0:01:04.153 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.042) 0:01:04.195 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.036) 0:01:04.232 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.041) 0:01:04.274 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.085) 0:01:04.359 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.046) 0:01:04.406 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.057) 0:01:04.463 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.070) 0:01:04.533 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.678) 0:01:05.212 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.180) 0:01:05.392 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.059) 0:01:05.451 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.056) 0:01:05.508 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.640) 0:01:06.149 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.057) 0:01:06.206 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.045) 0:01:06.252 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.047) 0:01:06.299 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.037) 0:01:06.336 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.398) 0:01:06.735 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.179) 0:01:06.914 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.084) 0:01:06.998 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576618.9203026, "block_size": 4096, "blocks": 0, "ctime": 1733576618.9203026, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37512, "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": 1733576618.9203026, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.438) 0:01:07.437 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.104) 0:01:07.541 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.078) 0:01:07.620 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.048) 0:01:07.669 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.495) 0:01:08.164 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.081) 0:01:08.245 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018209", "end": "2024-12-07 08:03:54.034626", "rc": 1, "start": "2024-12-07 08:03:54.016417" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.510) 0:01:08.756 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.090) 0:01:08.846 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.071) 0:01:08.918 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.060) 0:01:08.979 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.067) 0:01:09.046 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.058) 0:01:09.105 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.046) 0:01:09.151 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.040) 0:01:09.192 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.041) 0:01:09.233 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.138) 0:01:09.372 ***** 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.065617", "end": "2024-12-07 08:03:55.317551", "rc": 1, "start": "2024-12-07 08:03:55.251934" } STDOUT: Connection 'statebr' (f9b563da-63b8-4311-8986-4ec9aaecf03b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.591) 0:01:09.964 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.094) 0:01:10.058 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.064) 0:01:10.123 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.111) 0:01:10.235 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.107) 0:01:10.342 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.112) 0:01:10.454 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002807", "end": "2024-12-07 08:03:56.417419", "rc": 0, "start": "2024-12-07 08:03:56.414612" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.606) 0:01:11.061 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.058) 0:01:11.119 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.050) 0:01:11.170 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.219) 0:01:11.389 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.107) 0:01:11.496 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.134) 0:01:11.631 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.083) 0:01:11.714 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.069) 0:01:11.783 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.070) 0:01:11.854 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:58 -0500 (0:00:01.579) 0:01:13.434 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:00 -0500 (0:00:01.472) 0:01:14.907 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.039) 0:01:14.947 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.037) 0:01:14.984 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.037) 0:01:15.021 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.043) 0:01:15.065 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.057) 0:01:15.123 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.062) 0:01:15.186 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.050) 0:01:15.236 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.083) 0:01:15.320 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.051) 0:01:15.371 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:00 -0500 (0:00:00.058) 0:01:15.429 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.193) 0:01:15.623 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.753) 0:01:16.377 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.067) 0:01:16.444 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.078) 0:01:16.522 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:02 -0500 (0:00:00.056) 0:01:16.579 ***** 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, 171eb694-df87-410b-bbea-e1bc861d63c4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:02 -0500 (0:00:00.708) 0:01:17.287 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:02 -0500 (0:00:00.039) 0:01:17.326 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 171eb694-df87-410b-bbea-e1bc861d63c4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:02 -0500 (0:00:00.046) 0:01:17.373 ***** 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, 171eb694-df87-410b-bbea-e1bc861d63c4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 171eb694-df87-410b-bbea-e1bc861d63c4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:02 -0500 (0:00:00.046) 0:01:17.420 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:02 -0500 (0:00:00.049) 0:01:17.469 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.421) 0:01:17.890 ***** 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, 171eb694-df87-410b-bbea-e1bc861d63c4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 171eb694-df87-410b-bbea-e1bc861d63c4" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.073) 0:01:17.964 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.142) 0:01:18.106 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.122) 0:01:18.229 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.083) 0:01:18.312 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.060) 0:01:18.373 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.051) 0:01:18.424 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:05 -0500 (0:00:01.564) 0:01:19.988 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:06 -0500 (0:00:01.429) 0:01:21.417 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:06 -0500 (0:00:00.037) 0:01:21.455 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:06 -0500 (0:00:00.037) 0:01:21.493 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:06 -0500 (0:00:00.036) 0:01:21.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.035) 0:01:21.566 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.044) 0:01:21.610 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.037) 0:01:21.648 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.042) 0:01:21.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.074) 0:01:21.766 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.043) 0:01:21.809 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.041) 0:01:21.851 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.044) 0:01:21.895 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.552) 0:01:22.447 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.064) 0:01:22.512 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.060) 0:01:22.572 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.061) 0:01:22.634 ***** 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, 171eb694-df87-410b-bbea-e1bc861d63c4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.610) 0:01:23.245 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.060) 0:01:23.305 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 171eb694-df87-410b-bbea-e1bc861d63c4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.064) 0:01:23.370 ***** 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, 171eb694-df87-410b-bbea-e1bc861d63c4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 171eb694-df87-410b-bbea-e1bc861d63c4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.066) 0:01:23.436 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.080) 0:01:23.516 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 08:04:09 -0500 (0:00:00.418) 0:01:23.935 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:09 -0500 (0:00:00.090) 0:01:24.025 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:09 -0500 (0:00:00.157) 0:01:24.183 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:09 -0500 (0:00:00.050) 0:01:24.234 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:09 -0500 (0:00:00.043) 0:01:24.278 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:09 -0500 (0:00:00.049) 0:01:24.327 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:11 -0500 (0:00:01.610) 0:01:25.938 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:12 -0500 (0:00:01.583) 0:01:27.522 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.069) 0:01:27.591 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.082) 0:01:27.674 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.060) 0:01:27.734 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.052) 0:01:27.787 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.061) 0:01:27.849 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.045) 0:01:27.894 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.042) 0:01:27.937 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.074) 0:01:28.012 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.037) 0:01:28.049 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.038) 0:01:28.088 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:13 -0500 (0:00:00.051) 0:01:28.140 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.526) 0:01:28.666 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.043) 0:01:28.709 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.036) 0:01:28.746 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.074) 0:01:28.821 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.645) 0:01:29.466 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.081) 0:01:29.548 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.059) 0:01:29.607 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.062) 0:01:29.670 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.054) 0:01:29.724 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.406) 0:01:30.131 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.082) 0:01:30.214 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.074) 0:01:30.288 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.070) 0:01:30.359 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.082) 0:01:30.441 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.045) 0:01:30.487 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.058) 0:01:30.545 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:17 -0500 (0:00:01.560) 0:01:32.106 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:19 -0500 (0:00:01.532) 0:01:33.638 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.038) 0:01:33.677 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.036) 0:01:33.714 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.038) 0:01:33.752 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.036) 0:01:33.789 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.045) 0:01:33.834 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.038) 0:01:33.872 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.041) 0:01:33.914 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.082) 0:01:33.997 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.055) 0:01:34.053 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.052) 0:01:34.105 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:19 -0500 (0:00:00.048) 0:01: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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:20 -0500 (0:00:00.535) 0:01:34.690 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:20 -0500 (0:00:00.043) 0:01:34.733 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:20 -0500 (0:00:00.035) 0:01:34.769 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:20 -0500 (0:00:00.078) 0:01:34.847 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:20 -0500 (0:00:00.583) 0:01:35.431 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:20 -0500 (0:00:00.047) 0:01:35.479 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:20 -0500 (0:00:00.061) 0:01:35.541 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.063) 0:01:35.605 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.059) 0:01:35.664 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.477) 0:01:36.142 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.105) 0:01:36.247 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.103) 0:01:36.351 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.079) 0:01:36.430 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:04:22 -0500 (0:00:00.414) 0:01:36.844 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:04:22 -0500 (0:00:00.035) 0:01:36.880 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017336", "end": "2024-12-07 08:04:22.646712", "rc": 1, "start": "2024-12-07 08:04:22.629376" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:04:22 -0500 (0:00:00.388) 0:01:37.269 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:04:22 -0500 (0:00:00.047) 0:01:37.316 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:04:22 -0500 (0:00:00.094) 0:01:37.411 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:04:22 -0500 (0:00:00.126) 0:01:37.538 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.072) 0:01:37.610 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.115) 0:01:37.726 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.058) 0:01:37.784 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.097) 0:01:37.882 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.073) 0:01:37.955 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.391) 0:01:38.347 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.112) 0:01:38.460 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.059) 0:01:38.519 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.086) 0:01:38.605 ***** 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.034495", "end": "2024-12-07 08:04:24.382883", "rc": 1, "start": "2024-12-07 08:04:24.348388" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.423) 0:01:39.029 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.079) 0:01:39.109 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.042) 0:01:39.151 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.085) 0:01:39.237 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.060) 0:01:39.297 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.061) 0:01:39.359 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002650", "end": "2024-12-07 08:04:25.148020", "rc": 0, "start": "2024-12-07 08:04:25.145370" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.411) 0:01:39.771 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.103) 0:01:39.874 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.062) 0:01:39.936 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.132) 0:01:40.069 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.096) 0:01:40.165 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.111) 0:01:40.277 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.070) 0:01:40.347 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.048) 0:01:40.395 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.042) 0:01:40.438 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:27 -0500 (0:00:01.610) 0:01:42.048 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:28 -0500 (0:00:01.464) 0:01:43.512 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.063) 0:01:43.575 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.063) 0:01:43.638 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.059) 0:01:43.698 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.074) 0:01:43.773 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.085) 0:01:43.858 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.059) 0:01:43.918 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.140) 0:01:44.058 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.263) 0:01:44.322 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.068) 0:01:44.390 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:29 -0500 (0:00:00.067) 0:01:44.458 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:30 -0500 (0:00:00.127) 0:01:44.586 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:30 -0500 (0:00:00.661) 0:01:45.248 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:30 -0500 (0:00:00.066) 0:01:45.315 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:30 -0500 (0:00:00.050) 0:01:45.366 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:30 -0500 (0:00:00.039) 0:01:45.405 ***** 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, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:31 -0500 (0:00:00.593) 0:01:45.998 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:31 -0500 (0:00:00.036) 0:01:46.035 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:31 -0500 (0:00:00.038) 0:01:46.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, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:31 -0500 (0:00:00.040) 0:01:46.114 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:31 -0500 (0:00:00.038) 0:01:46.152 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:04:32 -0500 (0:00:00.607) 0:01:46.760 ***** 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, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 08:04:32 -0500 (0:00:00.069) 0:01:46.830 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:32 -0500 (0:00:00.152) 0:01:46.982 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:32 -0500 (0:00:00.135) 0:01:47.117 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:32 -0500 (0:00:00.070) 0:01:47.188 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:32 -0500 (0:00:00.070) 0:01:47.258 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:32 -0500 (0:00:00.063) 0:01:47.322 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:34 -0500 (0:00:01.563) 0:01:48.885 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:35 -0500 (0:00:01.451) 0:01:50.336 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:35 -0500 (0:00:00.039) 0:01:50.376 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:35 -0500 (0:00:00.036) 0:01:50.413 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:35 -0500 (0:00:00.037) 0:01:50.451 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:35 -0500 (0:00:00.037) 0:01:50.488 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:35 -0500 (0:00:00.043) 0:01:50.532 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:36 -0500 (0:00:00.037) 0:01:50.569 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:36 -0500 (0:00:00.042) 0:01:50.611 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:36 -0500 (0:00:00.072) 0:01:50.684 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:36 -0500 (0:00:00.050) 0:01:50.734 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:36 -0500 (0:00:00.102) 0:01:50.837 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:36 -0500 (0:00:00.086) 0:01:50.924 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:36 -0500 (0:00:00.554) 0:01:51.478 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:36 -0500 (0:00:00.042) 0:01:51.521 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:37 -0500 (0:00:00.036) 0:01:51.557 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:37 -0500 (0:00:00.036) 0:01:51.594 ***** 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, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:37 -0500 (0:00:00.577) 0:01:52.172 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:37 -0500 (0:00:00.072) 0:01:52.245 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:37 -0500 (0:00:00.066) 0:01:52.311 ***** 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, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 23edcc5d-1bdb-4b21-99a9-9b7a552b6541 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:37 -0500 (0:00:00.064) 0:01:52.375 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:37 -0500 (0:00:00.057) 0:01:52.433 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 08:04:38 -0500 (0:00:00.399) 0:01:52.833 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:38 -0500 (0:00:00.122) 0:01:52.956 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:38 -0500 (0:00:00.090) 0:01:53.046 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:38 -0500 (0:00:00.051) 0:01:53.098 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:38 -0500 (0:00:00.036) 0:01:53.135 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:38 -0500 (0:00:00.037) 0:01:53.173 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:40 -0500 (0:00:01.550) 0:01:54.723 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:41 -0500 (0:00:01.477) 0:01:56.201 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:41 -0500 (0:00:00.038) 0:01:56.240 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:41 -0500 (0:00:00.037) 0:01:56.277 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:41 -0500 (0:00:00.036) 0:01:56.314 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:41 -0500 (0:00:00.037) 0:01:56.352 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:41 -0500 (0:00:00.045) 0:01:56.397 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:41 -0500 (0:00:00.037) 0:01:56.435 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:41 -0500 (0:00:00.042) 0:01:56.478 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:41 -0500 (0:00:00.073) 0:01:56.552 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:42 -0500 (0:00:00.035) 0:01:56.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:42 -0500 (0:00:00.036) 0:01:56.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:42 -0500 (0:00:00.079) 0:01:56.703 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:42 -0500 (0:00:00.545) 0:01:57.248 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:42 -0500 (0:00:00.050) 0:01:57.299 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:42 -0500 (0:00:00.046) 0:01:57.345 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:42 -0500 (0:00:00.043) 0:01:57.389 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:43 -0500 (0:00:00.679) 0:01:58.069 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:43 -0500 (0:00:00.053) 0:01:58.123 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:43 -0500 (0:00:00.060) 0:01:58.183 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:43 -0500 (0:00:00.049) 0:01:58.233 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:43 -0500 (0:00:00.040) 0:01:58.274 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:04:44 -0500 (0:00:00.380) 0:01:58.655 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 08:04:44 -0500 (0:00:00.089) 0:01:58.744 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:44 -0500 (0:00:00.155) 0:01:58.900 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:44 -0500 (0:00:00.086) 0:01:58.986 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:44 -0500 (0:00:00.054) 0:01:59.041 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:44 -0500 (0:00:00.041) 0:01:59.083 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:44 -0500 (0:00:00.036) 0:01:59.120 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:46 -0500 (0:00:01.513) 0:02:00.633 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:47 -0500 (0:00:01.459) 0:02:02.092 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.048) 0:02:02.141 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.036) 0:02:02.178 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.044) 0:02:02.222 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.056) 0:02:02.279 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.048) 0:02:02.327 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.044) 0:02:02.371 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.050) 0:02:02.422 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.078) 0:02:02.501 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:47 -0500 (0:00:00.036) 0:02:02.538 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:48 -0500 (0:00:00.074) 0:02:02.613 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:48 -0500 (0:00:00.046) 0:02:02.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:48 -0500 (0:00:00.547) 0:02:03.206 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:48 -0500 (0:00:00.047) 0:02:03.254 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:48 -0500 (0:00:00.036) 0:02:03.291 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:48 -0500 (0:00:00.035) 0:02:03.326 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:49 -0500 (0:00:00.579) 0:02:03.906 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:49 -0500 (0:00:00.057) 0:02:03.963 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:49 -0500 (0:00:00.065) 0:02:04.029 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:49 -0500 (0:00:00.059) 0:02:04.088 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:49 -0500 (0:00:00.061) 0:02:04.150 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:04:50 -0500 (0:00:00.414) 0:02:04.565 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 08:04:50 -0500 (0:00:00.165) 0:02:04.731 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:04:50 -0500 (0:00:00.074) 0:02:04.806 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:04:50 -0500 (0:00:00.062) 0:02:04.868 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:04:50 -0500 (0:00:00.379) 0:02:05.247 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:04:50 -0500 (0:00:00.037) 0:02:05.285 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016810", "end": "2024-12-07 08:04:51.037986", "rc": 1, "start": "2024-12-07 08:04:51.021176" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:04:51 -0500 (0:00:00.371) 0:02:05.657 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:04:51 -0500 (0:00:00.038) 0:02:05.695 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:04:51 -0500 (0:00:00.037) 0:02:05.733 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:04:51 -0500 (0:00:00.037) 0:02:05.770 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:04:51 -0500 (0:00:00.039) 0:02:05.809 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 08:04:51 -0500 (0:00:00.038) 0:02:05.848 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 07 December 2024 08:04:51 -0500 (0:00:00.040) 0:02:05.888 ***** [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.873759", "end": "2024-12-07 08:04:52.498075", "rc": 0, "start": "2024-12-07 08:04:51.624316" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 07 December 2024 08:04:52 -0500 (0:00:01.231) 0:02:07.120 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 07 December 2024 08:04:52 -0500 (0:00:00.037) 0:02:07.158 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:04:52 -0500 (0:00:00.037) 0:02:07.195 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 08:04:52 -0500 (0:00:00.084) 0:02:07.280 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:04:52 -0500 (0:00:00.059) 0:02:07.340 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 08:04:53 -0500 (0:00:00.382) 0:02:07.722 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:04:53 -0500 (0:00:00.041) 0:02:07.764 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:04:53 -0500 (0:00:00.039) 0:02:07.803 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:04:53 -0500 (0:00:00.125) 0:02:07.929 ***** 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.035422", "end": "2024-12-07 08:04:53.890307", "rc": 1, "start": "2024-12-07 08:04:53.854885" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 07 December 2024 08:04:54 -0500 (0:00:00.660) 0:02:08.589 ***** 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.008623", "end": "2024-12-07 08:04:54.484461", "rc": 0, "start": "2024-12-07 08:04:54.475838" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:1a:b1:ff:87:d7 brd ff:ff:ff:ff:ff:ff inet 10.31.45.146/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2697sec preferred_lft 2697sec inet6 fe80::1a:b1ff:feff:87d7/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.146 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.146 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 07 December 2024 08:04:54 -0500 (0:00:00.611) 0:02:09.200 ***** 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.314764", "end": "2024-12-07 08:04:55.453310", "rc": 0, "start": "2024-12-07 08:04:55.138546" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1367 0 --:--:-- --:--:-- --:--:-- 1367 % 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 4279 0 --:--:-- --:--:-- --:--:-- 4279 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 07 December 2024 08:04:55 -0500 (0:00:00.866) 0:02:10.067 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.08s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-JOT/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-JOT/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-JOT/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-JOT/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-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26