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-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.020) 0:00:00.020 ***** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 23 November 2024 07:54:38 -0500 (0:00:01.178) 0:00:01.199 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.060) 0:00:01.259 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 23 November 2024 07:54:39 -0500 (0:00:00.613) 0:00:01.873 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 23 November 2024 07:54:39 -0500 (0:00:00.596) 0:00:02.470 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 23 November 2024 07:54:39 -0500 (0:00:00.057) 0:00:02.527 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 23 November 2024 07:54:39 -0500 (0:00:00.037) 0:00:02.565 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 23 November 2024 07:54:39 -0500 (0:00:00.064) 0:00:02.629 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.517) 0:00:03.146 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.020) 0:00:03.167 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.019) 0:00:03.187 ***** [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-node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.241969", "end": "2024-11-23 07:54:40.981352", "rc": 0, "start": "2024-11-23 07:54:40.739383" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.729) 0:00:03.917 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.028) 0:00:03.945 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.039) 0:00:03.985 ***** ok: [managed-node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.661) 0:00:04.647 ***** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.030) 0:00:04.677 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.053) 0:00:04.731 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:41 -0500 (0:00:00.058) 0:00:04.790 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.081) 0:00:04.871 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.037) 0:00:04.908 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.034) 0:00:04.942 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002945", "end": "2024-11-23 07:54:42.431711", "rc": 0, "start": "2024-11-23 07:54:42.428766" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.418) 0:00:05.361 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.032) 0:00:05.394 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.036) 0:00:05.430 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 23 November 2024 07:54:42 -0500 (0:00:00.058) 0:00:05.489 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007266", "end": "2024-11-23 07:54:42.977429", "rc": 1, "start": "2024-11-23 07:54:42.970163" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.408) 0:00:05.898 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.024) 0:00:05.922 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.361) 0:00:06.284 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.022) 0:00:06.306 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.037) 0:00:06.344 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.121) 0:00:06.466 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.036) 0:00:06.502 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.019) 0:00:06.522 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.019) 0:00:06.542 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:43 -0500 (0:00:00.018) 0:00:06.560 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:45 -0500 (0:00:01.764) 0:00:08.325 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:54:47 -0500 (0:00:01.826) 0:00:10.151 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.044) 0:00:10.196 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.048) 0:00:10.245 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.055) 0:00:10.300 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.052) 0:00:10.353 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.068) 0:00:10.421 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.056) 0:00:10.478 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.069) 0:00:10.548 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.108) 0:00:10.656 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.055) 0:00:10.711 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.064) 0:00:10.775 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.079) 0:00:10.855 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.895) 0:00:11.750 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.071) 0:00:11.822 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.059) 0:00:11.882 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.050) 0:00:11.932 ***** changed: [managed-node3] => { "_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, 5fdaa6ea-267b-4c58-8a5c-7bca4d16ceb5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.807) 0:00:12.740 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.052) 0:00:12.792 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5fdaa6ea-267b-4c58-8a5c-7bca4d16ceb5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:54:49 -0500 (0:00:00.042) 0:00:12.835 ***** ok: [managed-node3] => { "__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, 5fdaa6ea-267b-4c58-8a5c-7bca4d16ceb5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5fdaa6ea-267b-4c58-8a5c-7bca4d16ceb5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.060) 0:00:12.896 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.045) 0:00:12.941 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.538) 0:00:13.479 ***** ok: [managed-node3] => { "__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, 5fdaa6ea-267b-4c58-8a5c-7bca4d16ceb5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5fdaa6ea-267b-4c58-8a5c-7bca4d16ceb5" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.061) 0:00:13.541 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.154) 0:00:13.695 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.104) 0:00:13.799 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:54:50 -0500 (0:00:00.059) 0:00:13.859 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366489.7822096, "block_size": 4096, "blocks": 8, "ctime": 1732366489.7212086, "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": 1732366489.7212086, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.539) 0:00:14.398 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.100) 0:00:14.499 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020867", "end": "2024-11-23 07:54:52.074510", "rc": 0, "start": "2024-11-23 07:54:52.053643" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.540) 0:00:15.040 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.063) 0:00:15.104 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.096) 0:00:15.200 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.095) 0:00:15.295 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.079) 0:00:15.375 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.102) 0:00:15.478 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.060) 0:00:15.538 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.049) 0:00:15.587 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.049) 0:00:15.637 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:54:53 -0500 (0:00:00.235) 0:00:15.872 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:53 -0500 (0:00:00.084) 0:00:15.957 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366489.7228441, "block_size": 4096, "blocks": 0, "ctime": 1732366489.7228441, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34381, "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": 1732366489.7228441, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:54:53 -0500 (0:00:00.476) 0:00:16.434 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:54:53 -0500 (0:00:00.041) 0:00:16.475 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:54:53 -0500 (0:00:00.039) 0:00:16.515 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:54:53 -0500 (0:00:00.095) 0:00:16.610 ***** fatal: [managed-node3]: 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.059621", "end": "2024-11-23 07:54:54.129939", "rc": 1, "start": "2024-11-23 07:54:54.070318" } STDOUT: Connection 'statebr' (5fdaa6ea-267b-4c58-8a5c-7bca4d16ceb5) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.476) 0:00:17.086 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.091) 0:00:17.178 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.068) 0:00:17.247 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.140) 0:00:17.388 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.080) 0:00:17.468 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.099) 0:00:17.567 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003232", "end": "2024-11-23 07:54:55.116205", "rc": 0, "start": "2024-11-23 07:54:55.112973" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.488) 0:00:18.056 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.050) 0:00:18.106 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.044) 0:00:18.150 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.120) 0:00:18.271 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005799", "end": "2024-11-23 07:54:55.914349", "rc": 1, "start": "2024-11-23 07:54:55.908550" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.599) 0:00:18.871 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.094) 0:00:18.965 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.462) 0:00:19.428 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.079) 0:00:19.507 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.073) 0:00:19.581 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.115) 0:00:19.696 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.091) 0:00:19.788 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.056) 0:00:19.845 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.044) 0:00:19.889 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.042) 0:00:19.932 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:58 -0500 (0:00:01.629) 0:00:21.561 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:00 -0500 (0:00:01.721) 0:00:23.283 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.087) 0:00:23.370 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.062) 0:00:23.433 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.071) 0:00:23.505 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.071) 0:00:23.577 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.070) 0:00:23.647 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.052) 0:00:23.700 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.074) 0:00:23.775 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.085) 0:00:23.861 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.047) 0:00:23.908 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.049) 0:00:23.957 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.144) 0:00:24.102 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.560) 0:00:24.662 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.044) 0:00:24.707 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.038) 0:00:24.746 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:01 -0500 (0:00:00.039) 0:00:24.786 ***** changed: [managed-node3] => { "_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, 5530b08e-f1c7-4893-a49e-cba25f56db86 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.599) 0:00:25.385 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.039) 0:00:25.425 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5530b08e-f1c7-4893-a49e-cba25f56db86" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.082) 0:00:25.507 ***** ok: [managed-node3] => { "__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, 5530b08e-f1c7-4893-a49e-cba25f56db86\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5530b08e-f1c7-4893-a49e-cba25f56db86" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.070) 0:00:25.578 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:02 -0500 (0:00:00.111) 0:00:25.689 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.440) 0:00:26.129 ***** ok: [managed-node3] => { "__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, 5530b08e-f1c7-4893-a49e-cba25f56db86\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5530b08e-f1c7-4893-a49e-cba25f56db86" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.091) 0:00:26.221 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.120) 0:00:26.341 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:03 -0500 (0:00:00.120) 0:00:26.462 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.423) 0:00:26.885 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.042) 0:00:26.928 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.090) 0:00:27.018 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.037) 0:00:27.056 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366502.4224217, "block_size": 4096, "blocks": 8, "ctime": 1732366502.4224217, "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": 1732366502.4224217, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.425) 0:00:27.482 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.076) 0:00:27.558 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020000", "end": "2024-11-23 07:55:05.074880", "rc": 0, "start": "2024-11-23 07:55:05.054880" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.479) 0:00:28.038 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.098) 0:00:28.136 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.052) 0:00:28.188 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.049) 0:00:28.238 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.047) 0:00:28.285 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.052) 0:00:28.337 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.065) 0:00:28.403 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.048) 0:00:28.452 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.051) 0:00:28.503 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.058) 0:00:28.562 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.070) 0:00:28.633 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.098) 0:00:28.731 ***** fatal: [managed-node3]: 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.039752", "end": "2024-11-23 07:55:06.216781", "rc": 1, "start": "2024-11-23 07:55:06.177029" } STDOUT: Connection 'statebr' (5530b08e-f1c7-4893-a49e-cba25f56db86) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.451) 0:00:29.183 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.088) 0:00:29.272 ***** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.046) 0:00:29.318 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.156) 0:00:29.475 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.061) 0:00:29.537 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.059) 0:00:29.596 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002874", "end": "2024-11-23 07:55:07.062479", "rc": 0, "start": "2024-11-23 07:55:07.059605" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.465) 0:00:30.062 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.072) 0:00:30.135 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.058) 0:00:30.193 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.128) 0:00:30.321 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.100) 0:00:30.422 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.121) 0:00:30.543 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.112) 0:00:30.656 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.199) 0:00:30.855 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.091) 0:00:30.947 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:09 -0500 (0:00:01.803) 0:00:32.750 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:11 -0500 (0:00:01.522) 0:00:34.272 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.066) 0:00:34.338 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.037) 0:00:34.375 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.036) 0:00:34.412 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.037) 0:00:34.449 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.055) 0:00:34.505 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.055) 0:00:34.561 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.070) 0:00:34.632 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.111) 0:00:34.743 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.059) 0:00:34.803 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.058) 0:00:34.862 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.074) 0:00:34.937 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.640) 0:00:35.578 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.056) 0:00:35.634 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.051) 0:00:35.685 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.047) 0:00:35.733 ***** changed: [managed-node3] => { "_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, 1eaf438a-f9b6-477e-8cbd-9585a349516e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.684) 0:00:36.417 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.055) 0:00:36.473 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1eaf438a-f9b6-477e-8cbd-9585a349516e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.069) 0:00:36.542 ***** ok: [managed-node3] => { "__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, 1eaf438a-f9b6-477e-8cbd-9585a349516e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1eaf438a-f9b6-477e-8cbd-9585a349516e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.077) 0:00:36.620 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.048) 0:00:36.668 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.393) 0:00:37.062 ***** ok: [managed-node3] => { "__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, 1eaf438a-f9b6-477e-8cbd-9585a349516e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1eaf438a-f9b6-477e-8cbd-9585a349516e" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.067) 0:00:37.129 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.102) 0:00:37.232 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.126) 0:00:37.358 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.125) 0:00:37.483 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.202) 0:00:37.686 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.141) 0:00:37.827 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.071) 0:00:37.899 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:16 -0500 (0:00:01.788) 0:00:39.687 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:18 -0500 (0:00:01.639) 0:00:41.327 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.061) 0:00:41.389 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.059) 0:00:41.448 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.043) 0:00:41.491 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.046) 0:00:41.538 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.052) 0:00:41.590 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.042) 0:00:41.632 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.043) 0:00:41.676 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.072) 0:00:41.748 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.041) 0:00:41.790 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:18 -0500 (0:00:00.049) 0:00:41.839 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.066) 0:00:41.905 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.697) 0:00:42.603 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.091) 0:00:42.694 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.078) 0:00:42.773 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.113) 0:00:42.886 ***** ok: [managed-node3] => { "_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, 1eaf438a-f9b6-477e-8cbd-9585a349516e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.687) 0:00:43.573 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.047) 0:00:43.620 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1eaf438a-f9b6-477e-8cbd-9585a349516e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.052) 0:00:43.673 ***** ok: [managed-node3] => { "__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, 1eaf438a-f9b6-477e-8cbd-9585a349516e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1eaf438a-f9b6-477e-8cbd-9585a349516e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.057) 0:00:43.730 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.039) 0:00:43.770 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.406) 0:00:44.177 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.138) 0:00:44.315 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.117) 0:00:44.432 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366513.4067485, "block_size": 4096, "blocks": 0, "ctime": 1732366513.4067485, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34512, "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": 1732366513.4067485, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.453) 0:00:44.886 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.106) 0:00:44.992 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.226) 0:00:45.219 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.094) 0:00:45.314 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366513.4606059, "block_size": 4096, "blocks": 8, "ctime": 1732366513.404605, "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": 1732366513.404605, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.452) 0:00:45.766 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.059) 0:00:45.826 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020479", "end": "2024-11-23 07:55:23.359318", "rc": 0, "start": "2024-11-23 07:55:23.338839" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.475) 0:00:46.302 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.051) 0:00:46.353 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.048) 0:00:46.402 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.060) 0:00:46.462 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.063) 0:00:46.526 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.073) 0:00:46.599 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.109) 0:00:46.709 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.061) 0:00:46.771 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.086) 0:00:46.857 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.136) 0:00:46.993 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.053) 0:00:47.047 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.075) 0:00:47.122 ***** fatal: [managed-node3]: 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.070907", "end": "2024-11-23 07:55:24.653183", "rc": 1, "start": "2024-11-23 07:55:24.582276" } STDOUT: Connection 'statebr' (1eaf438a-f9b6-477e-8cbd-9585a349516e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.497) 0:00:47.620 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.105) 0:00:47.725 ***** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.048) 0:00:47.774 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.081) 0:00:47.855 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.065) 0:00:47.921 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.089) 0:00:48.010 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003067", "end": "2024-11-23 07:55:25.568661", "rc": 0, "start": "2024-11-23 07:55:25.565594" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.520) 0:00:48.530 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.050) 0:00:48.581 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.080) 0:00:48.661 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.082) 0:00:48.744 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.068) 0:00:48.812 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.109) 0:00:48.922 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.060) 0:00:48.983 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.066) 0:00:49.049 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.082) 0:00:49.132 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:27 -0500 (0:00:01.734) 0:00:50.866 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:29 -0500 (0:00:01.579) 0:00:52.446 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.039) 0:00:52.485 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.037) 0:00:52.523 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.046) 0:00:52.570 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.040) 0:00:52.610 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.045) 0:00:52.656 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.038) 0:00:52.694 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.042) 0:00:52.736 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:29 -0500 (0:00:00.072) 0:00:52.809 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.072) 0:00:52.881 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.036) 0:00:52.918 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.043) 0:00:52.962 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.570) 0:00:53.533 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.070) 0:00:53.603 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.056) 0:00:53.659 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:30 -0500 (0:00:00.058) 0:00:53.718 ***** changed: [managed-node3] => { "_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, 1baea39d-3ccd-4110-9258-eb2c82c8a567 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.682) 0:00:54.401 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.058) 0:00:54.459 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1baea39d-3ccd-4110-9258-eb2c82c8a567" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.060) 0:00:54.520 ***** ok: [managed-node3] => { "__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, 1baea39d-3ccd-4110-9258-eb2c82c8a567\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1baea39d-3ccd-4110-9258-eb2c82c8a567" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.067) 0:00:54.587 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.067) 0:00:54.654 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.483) 0:00:55.138 ***** ok: [managed-node3] => { "__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, 1baea39d-3ccd-4110-9258-eb2c82c8a567\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1baea39d-3ccd-4110-9258-eb2c82c8a567" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.062) 0:00:55.201 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.100) 0:00:55.301 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.156) 0:00:55.457 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.076) 0:00:55.534 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.055) 0:00:55.589 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.057) 0:00:55.647 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:34 -0500 (0:00:01.743) 0:00:57.390 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:36 -0500 (0:00:01.598) 0:00:58.989 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.046) 0:00:59.036 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.046) 0:00:59.083 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.057) 0:00:59.140 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.045) 0:00:59.185 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.054) 0:00:59.240 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.047) 0:00:59.287 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.050) 0:00:59.337 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.107) 0:00:59.445 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.037) 0:00:59.482 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.038) 0:00:59.520 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:36 -0500 (0:00:00.043) 0:00:59.563 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.557) 0:01:00.121 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.044) 0:01:00.166 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.038) 0:01:00.205 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.036) 0:01:00.242 ***** ok: [managed-node3] => { "_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, 1baea39d-3ccd-4110-9258-eb2c82c8a567 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.571) 0:01:00.813 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.070) 0:01:00.883 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1baea39d-3ccd-4110-9258-eb2c82c8a567 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.058) 0:01:00.942 ***** ok: [managed-node3] => { "__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, 1baea39d-3ccd-4110-9258-eb2c82c8a567 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1baea39d-3ccd-4110-9258-eb2c82c8a567 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.059) 0:01:01.002 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.063) 0:01:01.065 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.487) 0:01:01.553 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.095) 0:01:01.648 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.089) 0:01:01.738 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.084) 0:01:01.823 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.046) 0:01:01.870 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.049) 0:01:01.919 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.037) 0:01:01.957 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:40 -0500 (0:00:01.871) 0:01:03.828 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:42 -0500 (0:00:01.651) 0:01:05.480 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.049) 0:01:05.530 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.041) 0:01:05.571 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.042) 0:01:05.613 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.044) 0:01:05.658 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.048) 0:01:05.706 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.035) 0:01:05.742 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.042) 0:01:05.785 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.079) 0:01:05.864 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.051) 0:01:05.915 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.102) 0:01:06.018 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.058) 0:01:06.076 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.611) 0:01:06.688 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.106) 0:01:06.794 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:43 -0500 (0:00:00.074) 0:01:06.869 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.059) 0:01:06.929 ***** changed: [managed-node3] => { "_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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.666) 0:01:07.596 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.058) 0:01:07.655 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.066) 0:01:07.721 ***** ok: [managed-node3] => { "__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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.061) 0:01:07.783 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:44 -0500 (0:00:00.043) 0:01:07.826 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.429) 0:01:08.255 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.201) 0:01:08.457 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.108) 0:01:08.566 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366531.3859916, "block_size": 4096, "blocks": 0, "ctime": 1732366531.3859916, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34643, "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": 1732366531.3859916, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.472) 0:01:09.038 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.085) 0:01:09.124 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.129) 0:01:09.253 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.065) 0:01:09.318 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.415) 0:01:09.734 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.035) 0:01:09.769 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021294", "end": "2024-11-23 07:55:47.248706", "rc": 1, "start": "2024-11-23 07:55:47.227412" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.417) 0:01:10.187 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.037) 0:01:10.225 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.172) 0:01:10.397 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.124) 0:01:10.522 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.084) 0:01:10.606 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.074) 0:01:10.680 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.085) 0:01:10.766 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.063) 0:01:10.829 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.064) 0:01:10.894 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.134) 0:01:11.036 ***** fatal: [managed-node3]: 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.072698", "end": "2024-11-23 07:55:48.579251", "rc": 1, "start": "2024-11-23 07:55:48.506553" } STDOUT: Connection 'statebr' (1baea39d-3ccd-4110-9258-eb2c82c8a567) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.522) 0:01:11.559 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.090) 0:01:11.649 ***** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.056) 0:01:11.706 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.096) 0:01:11.802 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.062) 0:01:11.864 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.097) 0:01:11.962 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002953", "end": "2024-11-23 07:55:49.437448", "rc": 0, "start": "2024-11-23 07:55:49.434495" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.444) 0:01:12.407 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.061) 0:01:12.469 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.078) 0:01:12.548 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.125) 0:01:12.673 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.077) 0:01:12.750 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.077) 0:01:12.828 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.046) 0:01:12.874 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.039) 0:01:12.914 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:50 -0500 (0:00:00.042) 0:01:12.956 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:51 -0500 (0:00:01.713) 0:01:14.670 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:53 -0500 (0:00:01.618) 0:01:16.288 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.057) 0:01:16.346 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.057) 0:01:16.404 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.070) 0:01:16.475 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.099) 0:01:16.574 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.070) 0:01:16.645 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.059) 0:01:16.705 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.067) 0:01:16.773 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.113) 0:01:16.887 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.049) 0:01:16.936 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.041) 0:01:16.978 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.049) 0:01:17.028 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.568) 0:01:17.596 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.049) 0:01:17.645 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.042) 0:01:17.687 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.036) 0:01:17.724 ***** changed: [managed-node3] => { "_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, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.634) 0:01:18.359 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.084) 0:01:18.443 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.070) 0:01:18.514 ***** ok: [managed-node3] => { "__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, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.079) 0:01:18.593 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.060) 0:01:18.653 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.400) 0:01:19.054 ***** ok: [managed-node3] => { "__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, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.051) 0:01:19.106 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.099) 0:01:19.206 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.117) 0:01:19.323 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.071) 0:01:19.394 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.057) 0:01:19.452 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.045) 0:01:19.498 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:58 -0500 (0:00:01.677) 0:01:21.176 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:59 -0500 (0:00:01.610) 0:01:22.786 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:59 -0500 (0:00:00.041) 0:01:22.827 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:59 -0500 (0:00:00.036) 0:01:22.864 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.037) 0:01:22.901 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.037) 0:01:22.938 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.079) 0:01:23.018 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.052) 0:01:23.071 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.078) 0:01:23.150 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.173) 0:01:23.323 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.082) 0:01:23.406 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.062) 0:01:23.469 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.066) 0:01:23.535 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.705) 0:01:24.241 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.064) 0:01:24.305 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.042) 0:01:24.348 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.057) 0:01:24.406 ***** ok: [managed-node3] => { "_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, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.613) 0:01:25.020 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.037) 0:01:25.057 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.039) 0:01:25.097 ***** ok: [managed-node3] => { "__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, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e83c0e6-2dbb-49a9-a51b-de12bec48a77 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.078) 0:01:25.176 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.038) 0:01:25.214 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.386) 0:01:25.601 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.080) 0:01:25.681 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.080) 0:01:25.762 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:02 -0500 (0:00:00.076) 0:01:25.839 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.045) 0:01:25.884 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:03 -0500 (0:00:00.061) 0:01:25.946 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:04 -0500 (0:00:01.774) 0:01:27.720 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:06 -0500 (0:00:01.804) 0:01:29.524 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:06 -0500 (0:00:00.045) 0:01:29.570 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:06 -0500 (0:00:00.037) 0:01:29.608 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:06 -0500 (0:00:00.036) 0:01:29.645 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:06 -0500 (0:00:00.035) 0:01:29.681 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:06 -0500 (0:00:00.044) 0:01:29.725 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:06 -0500 (0:00:00.071) 0:01:29.796 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:06 -0500 (0:00:00.047) 0:01:29.844 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.109) 0:01:29.954 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.055) 0:01:30.009 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.057) 0:01:30.067 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.087) 0:01:30.154 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.604) 0:01:30.759 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.066) 0:01:30.825 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.056) 0:01:30.881 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.058) 0:01:30.939 ***** changed: [managed-node3] => { "_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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.622) 0:01:31.562 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.035) 0:01:31.598 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.041) 0:01:31.639 ***** ok: [managed-node3] => { "__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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.078) 0:01:31.717 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.037) 0:01:31.755 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.382) 0:01:32.137 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.079) 0:01:32.216 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.074) 0:01:32.291 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.071) 0:01:32.362 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.046) 0:01:32.409 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.037) 0:01:32.446 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:09 -0500 (0:00:00.036) 0:01:32.482 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:11 -0500 (0:00:01.699) 0:01:34.182 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:12 -0500 (0:00:01.624) 0:01:35.807 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.047) 0:01:35.854 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.041) 0:01:35.896 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.036) 0:01:35.933 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.036) 0:01:35.969 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.077) 0:01:36.047 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.041) 0:01:36.089 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.063) 0:01:36.153 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.119) 0:01:36.273 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.064) 0:01:36.337 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.042) 0:01:36.380 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.051) 0:01:36.431 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.560) 0:01:36.992 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.049) 0:01:37.041 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.066) 0:01:37.108 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.058) 0:01:37.166 ***** changed: [managed-node3] => { "_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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.708) 0:01:37.875 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.057) 0:01:37.932 ***** ok: [managed-node3] => { "__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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.106) 0:01:38.039 ***** ok: [managed-node3] => { "__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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.057) 0:01:38.096 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.061) 0:01:38.158 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.389) 0:01:38.548 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.067) 0:01:38.616 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.063) 0:01:38.680 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.038) 0:01:38.718 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.430) 0:01:39.149 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.064) 0:01:39.213 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020060", "end": "2024-11-23 07:56:16.720606", "rc": 1, "start": "2024-11-23 07:56:16.700546" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.449) 0:01:39.662 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.038) 0:01:39.701 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.088) 0:01:39.789 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:56:16 -0500 (0:00:00.054) 0:01:39.844 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.060) 0:01:39.904 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.053) 0:01:39.958 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.071) 0:01:40.029 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.115) 0:01:40.145 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.078) 0:01:40.224 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.430) 0:01:40.654 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.066) 0:01:40.720 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.061) 0:01:40.782 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.084) 0:01:40.867 ***** fatal: [managed-node3]: 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.040850", "end": "2024-11-23 07:56:18.393072", "rc": 1, "start": "2024-11-23 07:56:18.352222" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 23 November 2024 07:56:18 -0500 (0:00:00.503) 0:01:41.370 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:56:18 -0500 (0:00:00.066) 0:01:41.437 ***** ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:56:18 -0500 (0:00:00.051) 0:01:41.489 ***** ok: [managed-node3] => (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-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:56:18 -0500 (0:00:00.120) 0:01:41.609 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:56:18 -0500 (0:00:00.183) 0:01:41.793 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.106) 0:01:41.899 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004317", "end": "2024-11-23 07:56:20.538851", "rc": 0, "start": "2024-11-23 07:56:19.534534" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:56:20 -0500 (0:00:01.583) 0:01:43.483 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.044) 0:01:43.528 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.049) 0:01:43.577 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.122) 0:01:43.700 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.118) 0:01:43.819 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.192) 0:01:44.012 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.084) 0:01:44.096 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.066) 0:01:44.162 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.058) 0:01:44.221 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:23 -0500 (0:00:01.754) 0:01:45.975 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:24 -0500 (0:00:01.625) 0:01:47.600 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.049) 0:01:47.650 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.054) 0:01:47.705 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.036) 0:01:47.742 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.037) 0:01:47.779 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.045) 0:01:47.825 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:24 -0500 (0:00:00.036) 0:01:47.862 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.043) 0:01:47.905 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.075) 0:01:47.980 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.036) 0:01:48.017 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.037) 0:01:48.055 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.084) 0:01:48.140 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.580) 0:01:48.720 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.078) 0:01:48.799 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:25 -0500 (0:00:00.059) 0:01:48.859 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.062) 0:01:48.922 ***** changed: [managed-node3] => { "_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, 510203c7-d9a5-4541-b66e-a04fd7d356e5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.999) 0:01:49.921 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.120) 0:01:50.041 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 510203c7-d9a5-4541-b66e-a04fd7d356e5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.071) 0:01:50.112 ***** ok: [managed-node3] => { "__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, 510203c7-d9a5-4541-b66e-a04fd7d356e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 510203c7-d9a5-4541-b66e-a04fd7d356e5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.067) 0:01:50.180 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.068) 0:01:50.249 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.437) 0:01:50.686 ***** ok: [managed-node3] => { "__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, 510203c7-d9a5-4541-b66e-a04fd7d356e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 510203c7-d9a5-4541-b66e-a04fd7d356e5" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.039) 0:01:50.726 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.112) 0:01:50.838 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:28 -0500 (0:00:00.160) 0:01:50.999 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:28 -0500 (0:00:00.065) 0:01:51.065 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:28 -0500 (0:00:00.057) 0:01:51.123 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:28 -0500 (0:00:00.049) 0:01:51.172 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:30 -0500 (0:00:01.762) 0:01:52.934 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:31 -0500 (0:00:01.628) 0:01:54.563 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.039) 0:01:54.602 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.036) 0:01:54.639 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.037) 0:01:54.676 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.037) 0:01:54.714 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.044) 0:01:54.758 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.040) 0:01:54.799 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.044) 0:01:54.844 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.087) 0:01:54.931 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.037) 0:01:54.969 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.037) 0:01:55.006 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.041) 0:01:55.047 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.638) 0:01:55.686 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.069) 0:01:55.756 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.059) 0:01:55.815 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.061) 0:01:55.877 ***** ok: [managed-node3] => { "_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, 510203c7-d9a5-4541-b66e-a04fd7d356e5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.626) 0:01:56.503 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.043) 0:01:56.547 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 510203c7-d9a5-4541-b66e-a04fd7d356e5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.046) 0:01:56.594 ***** ok: [managed-node3] => { "__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, 510203c7-d9a5-4541-b66e-a04fd7d356e5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 510203c7-d9a5-4541-b66e-a04fd7d356e5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.048) 0:01:56.643 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.040) 0:01:56.684 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.395) 0:01:57.080 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.096) 0:01:57.176 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.131) 0:01:57.308 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.048) 0:01:57.357 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.037) 0:01:57.394 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.038) 0:01:57.433 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:36 -0500 (0:00:01.688) 0:01:59.122 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:37 -0500 (0:00:01.616) 0:02:00.739 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:37 -0500 (0:00:00.067) 0:02:00.806 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:37 -0500 (0:00:00.044) 0:02:00.851 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.050) 0:02:00.901 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.060) 0:02:00.962 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.064) 0:02:01.026 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.046) 0:02:01.073 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.050) 0:02:01.124 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.074) 0:02:01.199 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.037) 0:02:01.236 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.041) 0:02:01.278 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.056) 0:02:01.334 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.614) 0:02:01.948 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.048) 0:02:01.997 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.050) 0:02:02.048 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.057) 0:02:02.105 ***** changed: [managed-node3] => { "_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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.670) 0:02:02.776 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.062) 0:02:02.838 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.063) 0:02:02.901 ***** ok: [managed-node3] => { "__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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.050) 0:02:02.952 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.045) 0:02:02.997 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.447) 0:02:03.445 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.095) 0:02:03.541 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.115) 0:02:03.657 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.077) 0:02:03.734 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.046) 0:02:03.780 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.038) 0:02:03.818 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:40 -0500 (0:00:00.038) 0:02:03.856 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:42 -0500 (0:00:01.678) 0:02:05.535 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:44 -0500 (0:00:01.602) 0:02:07.137 ***** ok: [managed-node3] => {} 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.040) 0:02:07.178 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.038) 0:02:07.216 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.048) 0:02:07.265 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.038) 0:02:07.303 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.044) 0:02:07.348 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.037) 0:02:07.385 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.043) 0:02:07.428 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.074) 0:02:07.503 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.037) 0:02:07.540 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.074) 0:02:07.615 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.041) 0:02:07.657 ***** ok: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.562) 0:02:08.220 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.049) 0:02:08.270 ***** skipping: [managed-node3] => { "censored": "the output 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.044) 0:02:08.314 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.042) 0:02:08.356 ***** ok: [managed-node3] => { "_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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.588) 0:02:08.945 ***** skipping: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.037) 0:02:08.982 ***** ok: [managed-node3] => { "__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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.041) 0:02:09.024 ***** ok: [managed-node3] => { "__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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.039) 0:02:09.063 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.041) 0:02:09.105 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.388) 0:02:09.494 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.153) 0:02:09.647 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.102) 0:02:09.750 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.059) 0:02:09.810 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.414) 0:02:10.224 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.056) 0:02:10.280 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019453", "end": "2024-11-23 07:56:47.806836", "rc": 1, "start": "2024-11-23 07:56:47.787383" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.466) 0:02:10.747 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.040) 0:02:10.787 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.040) 0:02:10.827 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.039) 0:02:10.866 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.040) 0:02:10.907 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.040) 0:02:10.947 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.041) 0:02:10.989 ***** [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-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.975177", "end": "2024-11-23 07:56:49.420669", "rc": 0, "start": "2024-11-23 07:56:48.445492" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 23 November 2024 07:56:49 -0500 (0:00:01.408) 0:02:12.397 ***** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 23 November 2024 07:56:49 -0500 (0:00:00.064) 0:02:12.461 ***** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:56:49 -0500 (0:00:00.063) 0:02:12.525 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:56:49 -0500 (0:00:00.112) 0:02:12.637 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:56:49 -0500 (0:00:00.075) 0:02:12.713 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.387) 0:02:13.100 ***** ok: [managed-node3] => { "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.044) 0:02:13.144 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.039) 0:02:13.184 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.140) 0:02:13.324 ***** fatal: [managed-node3]: 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.039151", "end": "2024-11-23 07:56:50.820945", "rc": 1, "start": "2024-11-23 07:56:50.781794" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 23 November 2024 07:56:50 -0500 (0:00:00.436) 0:02:13.761 ***** ok: [managed-node3] => { "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.008889", "end": "2024-11-23 07:56:51.220479", "rc": 0, "start": "2024-11-23 07:56:51.211590" } 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 0e:c2:f3:a4:3b:a1 brd ff:ff:ff:ff:ff:ff inet 10.31.42.99/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2378sec preferred_lft 2378sec inet6 fe80::cc2:f3ff:fea4:3ba1/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.99 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.99 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.455) 0:02:14.217 ***** ok: [managed-node3] => { "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.122734", "end": "2024-11-23 07:56:51.843813", "rc": 0, "start": "2024-11-23 07:56:51.721079" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10892 0 --:--:-- --:--:-- --:--:-- 10892 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 4041 0 --:--:-- --:--:-- --:--:-- 4041 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 23 November 2024 07:56:51 -0500 (0:00:00.588) 0:02:14.805 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21