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-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 17 August 2024 18:54:58 -0400 (0:00:00.038) 0:00:00.038 ******* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 17 August 2024 18:54:59 -0400 (0:00:01.129) 0:00:01.168 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.103) 0:00:01.271 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 17 August 2024 18:55:00 -0400 (0:00:00.543) 0:00:01.815 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 17 August 2024 18:55:00 -0400 (0:00:00.459) 0:00:02.275 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 17 August 2024 18:55:00 -0400 (0:00:00.044) 0:00:02.319 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 17 August 2024 18:55:00 -0400 (0:00:00.041) 0:00:02.361 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 17 August 2024 18:55:00 -0400 (0:00:00.062) 0:00:02.424 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 17 August 2024 18:55:01 -0400 (0:00:00.443) 0:00:02.868 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 17 August 2024 18:55:01 -0400 (0:00:00.028) 0:00:02.896 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 17 August 2024 18:55:01 -0400 (0:00:00.028) 0:00:02.925 ******* [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_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.219565", "end": "2024-08-17 18:55:01.958112", "rc": 0, "start": "2024-08-17 18:55:01.738547" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 17 August 2024 18:55:02 -0400 (0:00:00.558) 0:00:03.483 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 17 August 2024 18:55:02 -0400 (0:00:00.022) 0:00:03.506 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 17 August 2024 18:55:02 -0400 (0:00:00.029) 0:00:03.536 ******* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 17 August 2024 18:55:02 -0400 (0:00:00.694) 0:00:04.230 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 17 August 2024 18:55:02 -0400 (0:00:00.029) 0:00:04.260 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:55:02 -0400 (0:00:00.043) 0:00:04.303 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:55:02 -0400 (0:00:00.052) 0:00:04.356 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:55:02 -0400 (0:00:00.086) 0:00:04.442 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.041) 0:00:04.483 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.033) 0:00:04.517 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002854", "end": "2024-08-17 18:55:03.380726", "rc": 0, "start": "2024-08-17 18:55:03.377872" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.401) 0:00:04.919 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.029) 0:00:04.948 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.028) 0:00:04.977 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.052) 0:00:05.029 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007068", "end": "2024-08-17 18:55:03.964414", "rc": 1, "start": "2024-08-17 18:55:03.957346" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.460) 0:00:05.489 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.024) 0:00:05.514 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.383) 0:00:05.898 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.046) 0:00:05.944 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.038) 0:00:05.983 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.125) 0:00:06.108 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.036) 0:00:06.145 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.019) 0:00:06.165 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.018) 0:00:06.183 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.018) 0:00:06.201 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:06 -0400 (0:00:01.766) 0:00:07.968 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:08 -0400 (0:00:01.732) 0:00:09.701 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.052) 0:00:09.753 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.055) 0:00:09.809 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.054) 0:00:09.863 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.050) 0:00:09.913 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.050) 0:00:09.963 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.046) 0:00:10.009 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.048) 0:00:10.058 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.072) 0:00:10.131 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.038) 0:00:10.169 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.046) 0:00:10.215 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.074) 0:00:10.290 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:09 -0400 (0:00:01.128) 0:00:11.418 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.106) 0:00:11.525 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.057) 0:00:11.582 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.056) 0:00:11.639 ******* changed: [managed_node1] => { "_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, dd35f883-b90a-4c6f-b4ba-30ecdfc20b22 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:11 -0400 (0:00:01.036) 0:00:12.676 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.078) 0:00:12.754 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd35f883-b90a-4c6f-b4ba-30ecdfc20b22" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.062) 0:00:12.817 ******* ok: [managed_node1] => { "__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, dd35f883-b90a-4c6f-b4ba-30ecdfc20b22\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd35f883-b90a-4c6f-b4ba-30ecdfc20b22" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.128) 0:00:12.946 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.088) 0:00:13.034 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:55:12 -0400 (0:00:00.683) 0:00:13.718 ******* ok: [managed_node1] => { "__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, dd35f883-b90a-4c6f-b4ba-30ecdfc20b22\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd35f883-b90a-4c6f-b4ba-30ecdfc20b22" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:55:12 -0400 (0:00:00.068) 0:00:13.786 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:55:12 -0400 (0:00:00.099) 0:00:13.886 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:55:12 -0400 (0:00:00.069) 0:00:13.956 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:55:12 -0400 (0:00:00.082) 0:00:14.038 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723935311.0151956, "block_size": 4096, "blocks": 8, "ctime": 1723935310.9691954, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723935310.9691954, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:55:12 -0400 (0:00:00.360) 0:00:14.398 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:55:12 -0400 (0:00:00.047) 0:00:14.446 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017619", "end": "2024-08-17 18:55:13.266176", "rc": 0, "start": "2024-08-17 18:55:13.248557" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.397) 0:00:14.843 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.113) 0:00:14.956 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.076) 0:00:15.032 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.074) 0:00:15.107 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.064) 0:00:15.172 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.047) 0:00:15.220 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.049) 0:00:15.269 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.043) 0:00:15.313 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.037) 0:00:15.351 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 18:55:13 -0400 (0:00:00.072) 0:00:15.423 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:55:14 -0400 (0:00:00.091) 0:00:15.515 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723935310.9709995, "block_size": 4096, "blocks": 0, "ctime": 1723935310.9709995, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37128, "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": 1723935310.9709995, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 18:55:14 -0400 (0:00:00.371) 0:00:15.887 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:55:14 -0400 (0:00:00.066) 0:00:15.954 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:55:14 -0400 (0:00:00.051) 0:00:16.006 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:55:14 -0400 (0:00:00.110) 0:00:16.116 ******* fatal: [managed_node1]: 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.052037", "end": "2024-08-17 18:55:15.030774", "rc": 1, "start": "2024-08-17 18:55:14.978737" } STDOUT: Connection 'statebr' (dd35f883-b90a-4c6f-b4ba-30ecdfc20b22) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.562) 0:00:16.678 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.159) 0:00:16.837 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.080) 0:00:16.917 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.120) 0:00:17.038 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.120) 0:00:17.158 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.142) 0:00:17.300 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002949", "end": "2024-08-17 18:55:16.245185", "rc": 0, "start": "2024-08-17 18:55:16.242236" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:55:16 -0400 (0:00:00.513) 0:00:17.814 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:55:16 -0400 (0:00:00.058) 0:00:17.872 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:55:16 -0400 (0:00:00.057) 0:00:17.929 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 18:55:16 -0400 (0:00:00.099) 0:00:18.029 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005204", "end": "2024-08-17 18:55:16.857396", "rc": 1, "start": "2024-08-17 18:55:16.852192" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:55:16 -0400 (0:00:00.376) 0:00:18.406 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.094) 0:00:18.501 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.368) 0:00:18.869 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.043) 0:00:18.912 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.100) 0:00:19.013 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.164) 0:00:19.177 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.120) 0:00:19.298 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.052) 0:00:19.350 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.046) 0:00:19.397 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.054) 0:00:19.451 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:19 -0400 (0:00:01.550) 0:00:21.002 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:20 -0400 (0:00:01.435) 0:00:22.438 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.057) 0:00:22.496 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.060) 0:00:22.557 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.054) 0:00:22.612 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.044) 0:00:22.656 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.056) 0:00:22.713 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.046) 0:00:22.760 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.053) 0:00:22.813 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.096) 0:00:22.910 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.059) 0:00:22.969 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.056) 0:00:23.025 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.065) 0:00:23.091 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.953) 0:00:24.045 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.076) 0:00:24.121 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.057) 0:00:24.179 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.052) 0:00:24.232 ******* changed: [managed_node1] => { "_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, aa56f253-14fa-466c-96d6-ece94a3b818e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:23 -0400 (0:00:00.591) 0:00:24.823 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:23 -0400 (0:00:00.069) 0:00:24.893 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa56f253-14fa-466c-96d6-ece94a3b818e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:23 -0400 (0:00:00.058) 0:00:24.951 ******* ok: [managed_node1] => { "__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, aa56f253-14fa-466c-96d6-ece94a3b818e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa56f253-14fa-466c-96d6-ece94a3b818e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:23 -0400 (0:00:00.061) 0:00:25.013 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:23 -0400 (0:00:00.055) 0:00:25.068 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.412) 0:00:25.481 ******* ok: [managed_node1] => { "__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, aa56f253-14fa-466c-96d6-ece94a3b818e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa56f253-14fa-466c-96d6-ece94a3b818e" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.038) 0:00:25.519 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.072) 0:00:25.591 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.090) 0:00:25.681 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.377) 0:00:26.059 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.068) 0:00:26.128 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.078) 0:00:26.206 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.048) 0:00:26.254 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723935323.2212956, "block_size": 4096, "blocks": 8, "ctime": 1723935323.2212956, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723935323.2212956, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.393) 0:00:26.648 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.057) 0:00:26.706 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017701", "end": "2024-08-17 18:55:25.637118", "rc": 0, "start": "2024-08-17 18:55:25.619417" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.483) 0:00:27.189 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.044) 0:00:27.233 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.042) 0:00:27.276 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.041) 0:00:27.318 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.042) 0:00:27.360 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.096) 0:00:27.457 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.043) 0:00:27.500 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.045) 0:00:27.545 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.041) 0:00:27.587 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.036) 0:00:27.624 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.040) 0:00:27.664 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.071) 0:00:27.735 ******* fatal: [managed_node1]: 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.035332", "end": "2024-08-17 18:55:26.579614", "rc": 1, "start": "2024-08-17 18:55:26.544282" } STDOUT: Connection 'statebr' (aa56f253-14fa-466c-96d6-ece94a3b818e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.396) 0:00:28.132 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.099) 0:00:28.231 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.060) 0:00:28.292 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:55:26 -0400 (0:00:00.115) 0:00:28.407 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:55:27 -0400 (0:00:00.157) 0:00:28.564 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:55:27 -0400 (0:00:00.166) 0:00:28.731 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002914", "end": "2024-08-17 18:55:27.626805", "rc": 0, "start": "2024-08-17 18:55:27.623891" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:55:27 -0400 (0:00:00.452) 0:00:29.183 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:55:27 -0400 (0:00:00.052) 0:00:29.235 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:55:27 -0400 (0:00:00.044) 0:00:29.280 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:55:27 -0400 (0:00:00.066) 0:00:29.347 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:27 -0400 (0:00:00.064) 0:00:29.411 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.070) 0:00:29.482 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.055) 0:00:29.538 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.055) 0:00:29.593 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.056) 0:00:29.649 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:29 -0400 (0:00:01.652) 0:00:31.301 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:31 -0400 (0:00:01.428) 0:00:32.730 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.046) 0:00:32.777 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.044) 0:00:32.822 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.045) 0:00:32.867 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.036) 0:00:32.904 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.044) 0:00:32.948 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.037) 0:00:32.986 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.098) 0:00:33.085 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.105) 0:00:33.190 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.063) 0:00:33.254 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.061) 0:00:33.315 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.059) 0:00:33.374 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.567) 0:00:33.942 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.050) 0:00:33.992 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.044) 0:00:34.037 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.048) 0:00:34.085 ******* changed: [managed_node1] => { "_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, 139b930a-82c9-4167-a2e6-4446ad4548ec TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.574) 0:00:34.660 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.050) 0:00:34.710 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 139b930a-82c9-4167-a2e6-4446ad4548ec" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.056) 0:00:34.767 ******* ok: [managed_node1] => { "__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, 139b930a-82c9-4167-a2e6-4446ad4548ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 139b930a-82c9-4167-a2e6-4446ad4548ec" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.076) 0:00:34.844 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.082) 0:00:34.926 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.638) 0:00:35.565 ******* ok: [managed_node1] => { "__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, 139b930a-82c9-4167-a2e6-4446ad4548ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 139b930a-82c9-4167-a2e6-4446ad4548ec" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.063) 0:00:35.629 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.117) 0:00:35.747 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.139) 0:00:35.886 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.142) 0:00:36.029 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.050) 0:00:36.079 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.049) 0:00:36.129 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.070) 0:00:36.200 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:36 -0400 (0:00:01.610) 0:00:37.811 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:37 -0400 (0:00:01.442) 0:00:39.254 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:37 -0400 (0:00:00.060) 0:00:39.314 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:37 -0400 (0:00:00.054) 0:00:39.368 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:37 -0400 (0:00:00.042) 0:00:39.410 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:37 -0400 (0:00:00.038) 0:00:39.448 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:38 -0400 (0:00:00.045) 0:00:39.494 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:38 -0400 (0:00:00.040) 0:00:39.535 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:38 -0400 (0:00:00.053) 0:00:39.588 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:38 -0400 (0:00:00.114) 0:00:39.703 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:38 -0400 (0:00:00.114) 0:00:39.818 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:38 -0400 (0:00:00.049) 0:00:39.867 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:38 -0400 (0:00:00.048) 0:00:39.916 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:38 -0400 (0:00:00.526) 0:00:40.442 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.050) 0:00:40.493 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.047) 0:00:40.541 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.056) 0:00:40.598 ******* ok: [managed_node1] => { "_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, 139b930a-82c9-4167-a2e6-4446ad4548ec skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.773) 0:00:41.372 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.097) 0:00:41.470 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 139b930a-82c9-4167-a2e6-4446ad4548ec skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.109) 0:00:41.579 ******* ok: [managed_node1] => { "__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, 139b930a-82c9-4167-a2e6-4446ad4548ec skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 139b930a-82c9-4167-a2e6-4446ad4548ec skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.105) 0:00:41.684 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.101) 0:00:41.786 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.410) 0:00:42.196 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.223) 0:00:42.420 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.074) 0:00:42.495 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723935333.0525758, "block_size": 4096, "blocks": 0, "ctime": 1723935333.0525758, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37259, "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": 1723935333.0525758, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.379) 0:00:42.874 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.052) 0:00:42.927 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.115) 0:00:43.042 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.057) 0:00:43.100 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723935333.0903761, "block_size": 4096, "blocks": 8, "ctime": 1723935333.0513759, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723935333.0513759, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.400) 0:00:43.500 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.078) 0:00:43.578 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017522", "end": "2024-08-17 18:55:42.494261", "rc": 0, "start": "2024-08-17 18:55:42.476739" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.480) 0:00:44.059 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.068) 0:00:44.127 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.223) 0:00:44.350 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.091) 0:00:44.442 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.063) 0:00:44.506 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.131) 0:00:44.637 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.068) 0:00:44.706 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.069) 0:00:44.775 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.070) 0:00:44.846 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.064) 0:00:44.910 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.046) 0:00:44.957 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.075) 0:00:45.032 ******* fatal: [managed_node1]: 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.063421", "end": "2024-08-17 18:55:43.922991", "rc": 1, "start": "2024-08-17 18:55:43.859570" } STDOUT: Connection 'statebr' (139b930a-82c9-4167-a2e6-4446ad4548ec) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.433) 0:00:45.465 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.063) 0:00:45.529 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.038) 0:00:45.567 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.136) 0:00:45.704 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.066) 0:00:45.770 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.090) 0:00:45.861 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002601", "end": "2024-08-17 18:55:44.674601", "rc": 0, "start": "2024-08-17 18:55:44.672000" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.359) 0:00:46.220 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.050) 0:00:46.271 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.058) 0:00:46.330 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:55:44 -0400 (0:00:00.095) 0:00:46.425 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:45 -0400 (0:00:00.099) 0:00:46.525 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:45 -0400 (0:00:00.125) 0:00:46.650 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:45 -0400 (0:00:00.070) 0:00:46.721 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:45 -0400 (0:00:00.104) 0:00:46.826 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:45 -0400 (0:00:00.049) 0:00:46.875 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:46 -0400 (0:00:01.590) 0:00:48.466 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:48 -0400 (0:00:01.560) 0:00:50.026 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.037) 0:00:50.064 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.076) 0:00:50.140 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.059) 0:00:50.200 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.044) 0:00:50.244 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.063) 0:00:50.308 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.107) 0:00:50.416 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.127) 0:00:50.543 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.196) 0:00:50.739 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.062) 0:00:50.801 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.045) 0:00:50.847 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.050) 0:00:50.897 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.548) 0:00:51.446 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:50 -0400 (0:00:00.066) 0:00:51.513 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:50 -0400 (0:00:00.044) 0:00:51.557 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:50 -0400 (0:00:00.041) 0:00:51.598 ******* changed: [managed_node1] => { "_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, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:50 -0400 (0:00:00.656) 0:00:52.255 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:50 -0400 (0:00:00.065) 0:00:52.320 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:50 -0400 (0:00:00.067) 0:00:52.388 ******* ok: [managed_node1] => { "__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, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:50 -0400 (0:00:00.048) 0:00:52.436 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:51 -0400 (0:00:00.058) 0:00:52.494 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:55:51 -0400 (0:00:00.397) 0:00:52.892 ******* ok: [managed_node1] => { "__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, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:55:51 -0400 (0:00:00.040) 0:00:52.932 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:51 -0400 (0:00:00.072) 0:00:53.004 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:51 -0400 (0:00:00.108) 0:00:53.113 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:51 -0400 (0:00:00.056) 0:00:53.170 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:51 -0400 (0:00:00.050) 0:00:53.220 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:51 -0400 (0:00:00.045) 0:00:53.266 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:53 -0400 (0:00:01.532) 0:00:54.798 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:54 -0400 (0:00:01.443) 0:00:56.242 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:54 -0400 (0:00:00.045) 0:00:56.287 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:54 -0400 (0:00:00.034) 0:00:56.322 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:54 -0400 (0:00:00.066) 0:00:56.389 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:54 -0400 (0:00:00.035) 0:00:56.424 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:54 -0400 (0:00:00.046) 0:00:56.471 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.043) 0:00:56.514 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.059) 0:00:56.574 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.112) 0:00:56.686 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.059) 0:00:56.745 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.054) 0:00:56.800 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.077) 0:00:56.877 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.544) 0:00:57.422 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.072) 0:00:57.494 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.058) 0:00:57.553 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.060) 0:00:57.613 ******* ok: [managed_node1] => { "_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, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.658) 0:00:58.272 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.061) 0:00:58.334 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.070) 0:00:58.404 ******* ok: [managed_node1] => { "__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, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7142b02a-2fb0-4dd8-971c-a882d6f2c7c9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.065) 0:00:58.470 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:57 -0400 (0:00:00.060) 0:00:58.530 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:55:57 -0400 (0:00:00.431) 0:00:58.962 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 18:55:57 -0400 (0:00:00.118) 0:00:59.081 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:57 -0400 (0:00:00.105) 0:00:59.186 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:57 -0400 (0:00:00.100) 0:00:59.287 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:57 -0400 (0:00:00.053) 0:00:59.340 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:57 -0400 (0:00:00.043) 0:00:59.384 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:57 -0400 (0:00:00.051) 0:00:59.435 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:59 -0400 (0:00:01.588) 0:01:01.024 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:01 -0400 (0:00:01.488) 0:01:02.513 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.039) 0:01:02.552 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.036) 0:01:02.588 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.056) 0:01:02.644 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.087) 0:01:02.732 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.140) 0:01:02.873 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.119) 0:01:02.992 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.067) 0:01:03.060 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.128) 0:01:03.188 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.058) 0:01:03.247 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.059) 0:01:03.306 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.074) 0:01:03.381 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.672) 0:01:04.053 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.078) 0:01:04.131 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.068) 0:01:04.200 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.094) 0:01:04.295 ******* changed: [managed_node1] => { "_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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.757) 0:01:05.053 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.064) 0:01:05.117 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.071) 0:01:05.188 ******* ok: [managed_node1] => { "__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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.046) 0:01:05.235 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.103) 0:01:05.339 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.407) 0:01:05.746 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.117) 0:01:05.863 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.098) 0:01:05.962 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723935350.6313505, "block_size": 4096, "blocks": 0, "ctime": 1723935350.6313505, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37390, "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": 1723935350.6313505, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.518) 0:01:06.481 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.079) 0:01:06.560 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.108) 0:01:06.669 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.112) 0:01:06.781 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.740) 0:01:07.522 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.066) 0:01:07.588 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016731", "end": "2024-08-17 18:56:06.456726", "rc": 1, "start": "2024-08-17 18:56:06.439995" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.488) 0:01:08.077 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.063) 0:01:08.141 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.062) 0:01:08.204 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.086) 0:01:08.291 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.115) 0:01:08.407 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.081) 0:01:08.488 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.064) 0:01:08.553 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.059) 0:01:08.612 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.047) 0:01:08.659 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.070) 0:01:08.729 ******* fatal: [managed_node1]: 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.060248", "end": "2024-08-17 18:56:07.598759", "rc": 1, "start": "2024-08-17 18:56:07.538511" } STDOUT: Connection 'statebr' (7142b02a-2fb0-4dd8-971c-a882d6f2c7c9) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.422) 0:01:09.152 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.071) 0:01:09.224 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.038) 0:01:09.263 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (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_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:56:07 -0400 (0:00:00.135) 0:01:09.398 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.095) 0:01:09.494 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.094) 0:01:09.589 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002640", "end": "2024-08-17 18:56:08.442906", "rc": 0, "start": "2024-08-17 18:56:08.440266" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.422) 0:01:10.011 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.057) 0:01:10.068 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.064) 0:01:10.133 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.122) 0:01:10.255 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.081) 0:01:10.337 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.085) 0:01:10.422 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:08 -0400 (0:00:00.044) 0:01:10.467 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:09 -0400 (0:00:00.074) 0:01:10.541 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:09 -0400 (0:00:00.050) 0:01:10.591 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:10 -0400 (0:00:01.503) 0:01:12.094 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:12 -0400 (0:00:01.411) 0:01:13.506 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.038) 0:01:13.545 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.067) 0:01:13.613 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.057) 0:01:13.670 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.055) 0:01:13.726 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.068) 0:01:13.795 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.060) 0:01:13.855 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.063) 0:01:13.919 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.101) 0:01:14.020 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.046) 0:01:14.067 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.042) 0:01:14.109 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.052) 0:01:14.162 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.541) 0:01:14.703 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.066) 0:01:14.769 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.042) 0:01:14.811 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.043) 0:01:14.855 ******* changed: [managed_node1] => { "_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, cb22a32d-1a5f-4808-a028-9290c58e9920 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.614) 0:01:15.469 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.058) 0:01:15.528 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb22a32d-1a5f-4808-a028-9290c58e9920" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.061) 0:01:15.589 ******* ok: [managed_node1] => { "__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, cb22a32d-1a5f-4808-a028-9290c58e9920\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb22a32d-1a5f-4808-a028-9290c58e9920" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.064) 0:01:15.653 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.057) 0:01:15.711 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.379) 0:01:16.090 ******* ok: [managed_node1] => { "__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, cb22a32d-1a5f-4808-a028-9290c58e9920\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb22a32d-1a5f-4808-a028-9290c58e9920" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.038) 0:01:16.129 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.061) 0:01:16.191 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.101) 0:01:16.292 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.062) 0:01:16.354 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.044) 0:01:16.399 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:14 -0400 (0:00:00.048) 0:01:16.448 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:16 -0400 (0:00:01.664) 0:01:18.112 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:18 -0400 (0:00:01.511) 0:01:19.623 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.108) 0:01:19.732 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.074) 0:01:19.806 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.060) 0:01:19.866 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.098) 0:01:19.965 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.053) 0:01:20.018 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.042) 0:01:20.061 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.041) 0:01:20.102 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.086) 0:01:20.189 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.039) 0:01:20.228 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.036) 0:01:20.264 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.040) 0:01:20.305 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.519) 0:01:20.825 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.042) 0:01:20.868 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.037) 0:01:20.905 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.046) 0:01:20.951 ******* ok: [managed_node1] => { "_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, cb22a32d-1a5f-4808-a028-9290c58e9920 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.587) 0:01:21.539 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.040) 0:01:21.579 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cb22a32d-1a5f-4808-a028-9290c58e9920 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.077) 0:01:21.657 ******* ok: [managed_node1] => { "__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, cb22a32d-1a5f-4808-a028-9290c58e9920 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cb22a32d-1a5f-4808-a028-9290c58e9920 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.041) 0:01:21.699 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.036) 0:01:21.735 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.348) 0:01:22.084 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.065) 0:01:22.149 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.074) 0:01:22.223 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.044) 0:01:22.268 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.037) 0:01:22.305 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:20 -0400 (0:00:00.037) 0:01:22.343 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:22 -0400 (0:00:01.461) 0:01:23.804 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:23 -0400 (0:00:01.380) 0:01:25.185 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.037) 0:01:25.223 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.034) 0:01:25.257 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.035) 0:01:25.292 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.035) 0:01:25.328 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.041) 0:01:25.369 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.042) 0:01:25.411 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.107) 0:01:25.519 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.085) 0:01:25.605 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.044) 0:01:25.649 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.039) 0:01:25.688 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.040) 0:01:25.729 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.517) 0:01:26.247 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.043) 0:01:26.290 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.036) 0:01:26.326 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.036) 0:01:26.363 ******* changed: [managed_node1] => { "_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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.581) 0:01:26.944 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.041) 0:01:26.986 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.051) 0:01:27.038 ******* ok: [managed_node1] => { "__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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.079) 0:01:27.117 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.063) 0:01:27.180 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:56:26 -0400 (0:00:00.429) 0:01:27.609 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:56:26 -0400 (0:00:00.096) 0:01:27.706 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:26 -0400 (0:00:00.074) 0:01:27.781 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:26 -0400 (0:00:00.069) 0:01:27.850 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:26 -0400 (0:00:00.044) 0:01:27.895 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:26 -0400 (0:00:00.038) 0:01:27.934 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:26 -0400 (0:00:00.035) 0:01:27.969 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:28 -0400 (0:00:01.512) 0:01:29.482 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:29 -0400 (0:00:01.404) 0:01:30.887 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.064) 0:01:30.951 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.058) 0:01:31.010 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.059) 0:01:31.070 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.062) 0:01:31.132 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.067) 0:01:31.200 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.068) 0:01:31.269 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.068) 0:01:31.338 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.189) 0:01:31.527 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.049) 0:01:31.576 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.043) 0:01:31.620 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.045) 0:01:31.666 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.501) 0:01:32.167 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.043) 0:01:32.210 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.041) 0:01:32.252 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.068) 0:01:32.321 ******* changed: [managed_node1] => { "_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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.664) 0:01:32.985 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.120) 0:01:33.106 ******* ok: [managed_node1] => { "__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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.118) 0:01:33.225 ******* ok: [managed_node1] => { "__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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.077) 0:01:33.302 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.073) 0:01:33.376 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.373) 0:01:33.750 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.131) 0:01:33.881 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.101) 0:01:33.983 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.060) 0:01:34.043 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.391) 0:01:34.435 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.058) 0:01:34.493 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016439", "end": "2024-08-17 18:56:33.373543", "rc": 1, "start": "2024-08-17 18:56:33.357104" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.444) 0:01:34.937 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.066) 0:01:35.004 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.110) 0:01:35.114 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.111) 0:01:35.226 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.064) 0:01:35.290 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.080) 0:01:35.371 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.154) 0:01:35.525 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.098) 0:01:35.624 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.070) 0:01:35.694 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.434) 0:01:36.129 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.064) 0:01:36.193 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.047) 0:01:36.240 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.076) 0:01:36.317 ******* fatal: [managed_node1]: 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.033894", "end": "2024-08-17 18:56:35.157157", "rc": 1, "start": "2024-08-17 18:56:35.123263" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.405) 0:01:36.722 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.121) 0:01:36.844 ******* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.057) 0:01:36.901 ******* ok: [managed_node1] => (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_node1] => (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_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (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_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.179) 0:01:37.081 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.107) 0:01:37.189 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.094) 0:01:37.284 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002500", "end": "2024-08-17 18:56:36.163830", "rc": 0, "start": "2024-08-17 18:56:36.161330" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.426) 0:01:37.710 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.044) 0:01:37.755 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.056) 0:01:37.811 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.115) 0:01:37.926 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.112) 0:01:38.039 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.135) 0:01:38.174 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.070) 0:01:38.245 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.127) 0:01:38.372 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.065) 0:01:38.438 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:38 -0400 (0:00:01.629) 0:01:40.068 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:40 -0400 (0:00:01.444) 0:01:41.512 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.038) 0:01:41.551 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.092) 0:01:41.643 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.055) 0:01:41.698 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.041) 0:01:41.739 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.070) 0:01:41.809 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.058) 0:01:41.868 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.060) 0:01:41.928 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.081) 0:01:42.010 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.036) 0:01:42.046 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.036) 0:01:42.083 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:40 -0400 (0:00:00.042) 0:01:42.126 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:41 -0400 (0:00:00.717) 0:01:42.844 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:41 -0400 (0:00:00.101) 0:01:42.945 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:41 -0400 (0:00:00.088) 0:01:43.033 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:41 -0400 (0:00:00.088) 0:01:43.122 ******* changed: [managed_node1] => { "_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, 7d3960db-290b-4500-bb63-219059dab679 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:42 -0400 (0:00:00.799) 0:01:43.922 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:42 -0400 (0:00:00.048) 0:01:43.970 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d3960db-290b-4500-bb63-219059dab679" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:42 -0400 (0:00:00.062) 0:01:44.033 ******* ok: [managed_node1] => { "__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, 7d3960db-290b-4500-bb63-219059dab679\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d3960db-290b-4500-bb63-219059dab679" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:42 -0400 (0:00:00.085) 0:01:44.118 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:42 -0400 (0:00:00.081) 0:01:44.200 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:56:43 -0400 (0:00:00.341) 0:01:44.542 ******* ok: [managed_node1] => { "__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, 7d3960db-290b-4500-bb63-219059dab679\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d3960db-290b-4500-bb63-219059dab679" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:56:43 -0400 (0:00:00.040) 0:01:44.582 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:43 -0400 (0:00:00.075) 0:01:44.657 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:43 -0400 (0:00:00.116) 0:01:44.773 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:43 -0400 (0:00:00.055) 0:01:44.829 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:43 -0400 (0:00:00.049) 0:01:44.878 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:43 -0400 (0:00:00.044) 0:01:44.922 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:44 -0400 (0:00:01.481) 0:01:46.404 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:46 -0400 (0:00:01.374) 0:01:47.778 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.038) 0:01:47.817 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.052) 0:01:47.869 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.051) 0:01:47.921 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.098) 0:01:48.019 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.072) 0:01:48.091 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.055) 0:01:48.147 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.053) 0:01:48.200 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.084) 0:01:48.284 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.041) 0:01:48.326 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.037) 0:01:48.364 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:46 -0400 (0:00:00.041) 0:01:48.405 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:47 -0400 (0:00:00.525) 0:01:48.931 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:47 -0400 (0:00:00.041) 0:01:48.973 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:47 -0400 (0:00:00.036) 0:01:49.009 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:47 -0400 (0:00:00.035) 0:01:49.044 ******* ok: [managed_node1] => { "_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, 7d3960db-290b-4500-bb63-219059dab679 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.491) 0:01:49.536 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.071) 0:01:49.608 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7d3960db-290b-4500-bb63-219059dab679 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.038) 0:01:49.646 ******* ok: [managed_node1] => { "__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, 7d3960db-290b-4500-bb63-219059dab679 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7d3960db-290b-4500-bb63-219059dab679 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.038) 0:01:49.685 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.036) 0:01:49.722 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.337) 0:01:50.060 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.068) 0:01:50.129 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.082) 0:01:50.212 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.055) 0:01:50.267 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.043) 0:01:50.310 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:48 -0400 (0:00:00.035) 0:01:50.346 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:50 -0400 (0:00:01.477) 0:01:51.823 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:51 -0400 (0:00:01.433) 0:01:53.257 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:51 -0400 (0:00:00.067) 0:01:53.325 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:51 -0400 (0:00:00.061) 0:01:53.386 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:51 -0400 (0:00:00.060) 0:01:53.447 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:52 -0400 (0:00:00.062) 0:01:53.509 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:52 -0400 (0:00:00.068) 0:01:53.577 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:52 -0400 (0:00:00.093) 0:01:53.671 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:52 -0400 (0:00:00.047) 0:01:53.719 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:52 -0400 (0:00:00.075) 0:01:53.795 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:52 -0400 (0:00:00.044) 0:01:53.840 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:52 -0400 (0:00:00.051) 0:01:53.891 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:52 -0400 (0:00:00.066) 0:01:53.958 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.588) 0:01:54.547 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.045) 0:01:54.592 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.039) 0:01:54.632 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.038) 0:01:54.670 ******* changed: [managed_node1] => { "_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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.569) 0:01:55.240 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.037) 0:01:55.277 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.038) 0:01:55.316 ******* ok: [managed_node1] => { "__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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.072) 0:01:55.388 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:53 -0400 (0:00:00.036) 0:01:55.425 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:56:54 -0400 (0:00:00.357) 0:01:55.782 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:56:54 -0400 (0:00:00.127) 0:01:55.910 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:54 -0400 (0:00:00.106) 0:01:56.017 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:54 -0400 (0:00:00.116) 0:01:56.133 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:54 -0400 (0:00:00.057) 0:01:56.190 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:54 -0400 (0:00:00.035) 0:01:56.226 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:54 -0400 (0:00:00.035) 0:01:56.262 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:56 -0400 (0:00:01.501) 0:01:57.764 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:57 -0400 (0:00:01.479) 0:01:59.243 ******* ok: [managed_node1] => {} 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:57 -0400 (0:00:00.065) 0:01:59.308 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:57 -0400 (0:00:00.042) 0:01:59.350 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:57 -0400 (0:00:00.057) 0:01:59.408 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:57 -0400 (0:00:00.065) 0:01:59.474 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:58 -0400 (0:00:00.070) 0:01:59.545 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:58 -0400 (0:00:00.101) 0:01:59.647 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:58 -0400 (0:00:00.052) 0:01:59.700 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:58 -0400 (0:00:00.075) 0:01:59.775 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:58 -0400 (0:00:00.036) 0:01:59.812 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:58 -0400 (0:00:00.037) 0:01:59.849 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:58 -0400 (0:00:00.042) 0:01:59.891 ******* ok: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:58 -0400 (0:00:00.535) 0:02:00.427 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:59 -0400 (0:00:00.056) 0:02:00.483 ******* skipping: [managed_node1] => { "censored": "the output 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:59 -0400 (0:00:00.037) 0:02:00.521 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:59 -0400 (0:00:00.058) 0:02:00.579 ******* ok: [managed_node1] => { "_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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:59 -0400 (0:00:00.575) 0:02:01.154 ******* skipping: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:59 -0400 (0:00:00.041) 0:02:01.196 ******* ok: [managed_node1] => { "__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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:59 -0400 (0:00:00.047) 0:02:01.243 ******* ok: [managed_node1] => { "__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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:59 -0400 (0:00:00.099) 0:02:01.342 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:59 -0400 (0:00:00.052) 0:02:01.395 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:57:00 -0400 (0:00:00.389) 0:02:01.785 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:57:00 -0400 (0:00:00.087) 0:02:01.873 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:57:00 -0400 (0:00:00.074) 0:02:01.947 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:57:00 -0400 (0:00:00.040) 0:02:01.987 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:57:00 -0400 (0:00:00.354) 0:02:02.342 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:57:00 -0400 (0:00:00.042) 0:02:02.384 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016052", "end": "2024-08-17 18:57:01.213251", "rc": 1, "start": "2024-08-17 18:57:01.197199" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:57:01 -0400 (0:00:00.374) 0:02:02.759 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:57:01 -0400 (0:00:00.043) 0:02:02.802 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:57:01 -0400 (0:00:00.041) 0:02:02.844 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:57:01 -0400 (0:00:00.073) 0:02:02.917 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:57:01 -0400 (0:00:00.037) 0:02:02.954 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:57:01 -0400 (0:00:00.047) 0:02:03.002 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 17 August 2024 18:57:01 -0400 (0:00:00.068) 0:02:03.071 ******* [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_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.845573", "end": "2024-08-17 18:57:02.762701", "rc": 0, "start": "2024-08-17 18:57:01.917128" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 17 August 2024 18:57:02 -0400 (0:00:01.277) 0:02:04.349 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 17 August 2024 18:57:02 -0400 (0:00:00.049) 0:02:04.399 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:57:02 -0400 (0:00:00.063) 0:02:04.462 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:57:03 -0400 (0:00:00.090) 0:02:04.553 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:57:03 -0400 (0:00:00.079) 0:02:04.632 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:57:03 -0400 (0:00:00.500) 0:02:05.132 ******* ok: [managed_node1] => { "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:57:03 -0400 (0:00:00.142) 0:02:05.275 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:57:03 -0400 (0:00:00.064) 0:02:05.339 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:57:04 -0400 (0:00:00.184) 0:02:05.523 ******* fatal: [managed_node1]: 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.033559", "end": "2024-08-17 18:57:04.460857", "rc": 1, "start": "2024-08-17 18:57:04.427298" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 17 August 2024 18:57:04 -0400 (0:00:00.570) 0:02:06.094 ******* ok: [managed_node1] => { "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.007520", "end": "2024-08-17 18:57:05.015661", "rc": 0, "start": "2024-08-17 18:57:05.008141" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:91:ad:ad:cf:19 brd ff:ff:ff:ff:ff:ff inet 10.31.9.165/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2500sec preferred_lft 2500sec inet6 fe80::1091:adff:fead:cf19/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.165 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.165 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 17 August 2024 18:57:05 -0400 (0:00:00.519) 0:02:06.614 ******* ok: [managed_node1] => { "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.331775", "end": "2024-08-17 18:57:05.784276", "rc": 0, "start": "2024-08-17 18:57:05.452501" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 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 3351 0 --:--:-- --:--:-- --:--:-- 3351 % 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 1347 0 --:--:-- --:--:-- --:--:-- 1347 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 17 August 2024 18:57:05 -0400 (0:00:00.705) 0:02:07.320 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21