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-Bnl/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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 14 September 2024 08:53:25 -0400 (0:00:00.025) 0:00:00.025 **** ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 14 September 2024 08:53:26 -0400 (0:00:01.104) 0:00:01.129 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 14 September 2024 08:53:26 -0400 (0:00:00.058) 0:00:01.187 **** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 14 September 2024 08:53:27 -0400 (0:00:00.497) 0:00:01.685 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 14 September 2024 08:53:27 -0400 (0:00:00.532) 0:00:02.218 **** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 14 September 2024 08:53:27 -0400 (0:00:00.050) 0:00:02.269 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 14 September 2024 08:53:28 -0400 (0:00:00.044) 0:00:02.314 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 14 September 2024 08:53:28 -0400 (0:00:00.063) 0:00:02.378 **** ok: [managed_node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 14 September 2024 08:53:28 -0400 (0:00:00.497) 0:00:02.875 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 14 September 2024 08:53:28 -0400 (0:00:00.019) 0:00:02.894 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 14 September 2024 08:53:28 -0400 (0:00:00.018) 0:00:02.912 **** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.216996", "end": "2024-09-14 08:53:29.129064", "rc": 0, "start": "2024-09-14 08:53:28.912068" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.572) 0:00:03.485 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.017) 0:00:03.502 **** ok: [managed_node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.025) 0:00:03.528 **** ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.706) 0:00:04.234 **** ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.024) 0:00:04.259 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.045) 0:00:04.305 **** ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.027) 0:00:04.332 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.078) 0:00:04.410 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.031) 0:00:04.442 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.027) 0:00:04.469 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002652", "end": "2024-09-14 08:53:30.466683", "rc": 0, "start": "2024-09-14 08:53:30.464031" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.369) 0:00:04.838 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.040) 0:00:04.879 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.060) 0:00:04.940 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 September 2024 08:53:30 -0400 (0:00:00.073) 0:00:05.013 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007030", "end": "2024-09-14 08:53:31.047272", "rc": 1, "start": "2024-09-14 08:53:31.040242" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.451) 0:00:05.464 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.049) 0:00:05.514 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.355) 0:00:05.869 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.021) 0:00:05.891 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.031) 0:00:05.922 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.097) 0:00:06.020 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.036) 0:00:06.057 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.019) 0:00:06.076 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.018) 0:00:06.095 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.017) 0:00:06.113 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:33 -0400 (0:00:01.715) 0:00:07.829 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:35 -0400 (0:00:01.792) 0:00:09.621 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.052) 0:00:09.674 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.062) 0:00:09.737 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.043) 0:00:09.780 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.046) 0:00:09.826 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.068) 0:00:09.895 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.055) 0:00:09.951 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.047) 0:00:09.999 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.082) 0:00:10.081 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.036) 0:00:10.118 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.036) 0:00:10.155 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:35 -0400 (0:00:00.041) 0:00:10.196 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:36 -0400 (0:00:00.861) 0:00:11.058 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:36 -0400 (0:00:00.045) 0:00:11.104 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:36 -0400 (0:00:00.036) 0:00:11.140 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:36 -0400 (0:00:00.035) 0:00:11.175 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f63fe741-2322-4433-90b4-f68798af1605 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:37 -0400 (0:00:01.063) 0:00:12.238 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.037) 0:00:12.275 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f63fe741-2322-4433-90b4-f68798af1605" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.043) 0:00:12.318 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f63fe741-2322-4433-90b4-f68798af1605\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f63fe741-2322-4433-90b4-f68798af1605" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.047) 0:00:12.366 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.054) 0:00:12.421 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.570) 0:00:12.992 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f63fe741-2322-4433-90b4-f68798af1605\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f63fe741-2322-4433-90b4-f68798af1605" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.046) 0:00:13.039 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.098) 0:00:13.137 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.130) 0:00:13.267 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:53:39 -0400 (0:00:00.071) 0:00:13.339 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318417.8537965, "block_size": 4096, "blocks": 8, "ctime": 1726318417.8107963, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726318417.8107963, "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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:53:39 -0400 (0:00:00.441) 0:00:13.781 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:53:39 -0400 (0:00:00.065) 0:00:13.846 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017867", "end": "2024-09-14 08:53:39.909397", "rc": 0, "start": "2024-09-14 08:53:39.891530" } 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.459) 0:00:14.305 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.069) 0:00:14.375 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.063) 0:00:14.438 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.057) 0:00:14.496 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.054) 0:00:14.550 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.062) 0:00:14.612 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.050) 0:00:14.662 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.051) 0:00:14.713 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.051) 0:00:14.764 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.102) 0:00:14.867 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.134) 0:00:15.002 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318417.8122427, "block_size": 4096, "blocks": 0, "ctime": 1726318417.8122427, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37127, "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": 1726318417.8122427, "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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.386) 0:00:15.389 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.058) 0:00:15.447 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.042) 0:00:15.489 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.119) 0:00:15.609 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.052933", "end": "2024-09-14 08:53:41.678974", "rc": 1, "start": "2024-09-14 08:53:41.626041" } STDOUT: Connection 'statebr' (f63fe741-2322-4433-90b4-f68798af1605) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.477) 0:00:16.086 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.094) 0:00:16.180 **** ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.061) 0:00:16.242 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:53:42 -0400 (0:00:00.113) 0:00:16.356 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:53:42 -0400 (0:00:00.122) 0:00:16.478 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:53:42 -0400 (0:00:00.258) 0:00:16.736 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002884", "end": "2024-09-14 08:53:42.915557", "rc": 0, "start": "2024-09-14 08:53:42.912673" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:53:42 -0400 (0:00:00.551) 0:00:17.288 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:53:43 -0400 (0:00:00.051) 0:00:17.339 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:53:43 -0400 (0:00:00.054) 0:00:17.394 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 September 2024 08:53:43 -0400 (0:00:00.108) 0:00:17.502 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005243", "end": "2024-09-14 08:53:43.531757", "rc": 1, "start": "2024-09-14 08:53:43.526514" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:53:43 -0400 (0:00:00.402) 0:00:17.905 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:53:43 -0400 (0:00:00.097) 0:00:18.002 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.544) 0:00:18.547 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.043) 0:00:18.590 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.091) 0:00:18.681 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.179) 0:00:18.860 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.111) 0:00:18.971 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.051) 0:00:19.023 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.044) 0:00:19.068 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.045) 0:00:19.113 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:46 -0400 (0:00:01.497) 0:00:20.610 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:47 -0400 (0:00:01.467) 0:00:22.078 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:47 -0400 (0:00:00.059) 0:00:22.138 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:47 -0400 (0:00:00.060) 0:00:22.199 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:47 -0400 (0:00:00.060) 0:00:22.259 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.060) 0:00:22.319 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.072) 0:00:22.392 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.058) 0:00:22.451 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.064) 0:00:22.515 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.123) 0:00:22.638 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.053) 0:00:22.692 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.054) 0:00:22.747 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.110) 0:00:22.857 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:49 -0400 (0:00:00.686) 0:00:23.544 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:49 -0400 (0:00:00.073) 0:00:23.617 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:49 -0400 (0:00:00.057) 0:00:23.674 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:49 -0400 (0:00:00.046) 0:00:23.721 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f2a6bd1-91ed-4e62-93ca-aae9877b3112 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:49 -0400 (0:00:00.570) 0:00:24.291 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:50 -0400 (0:00:00.095) 0:00:24.387 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f2a6bd1-91ed-4e62-93ca-aae9877b3112" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:50 -0400 (0:00:00.052) 0:00:24.439 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f2a6bd1-91ed-4e62-93ca-aae9877b3112\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f2a6bd1-91ed-4e62-93ca-aae9877b3112" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:53:50 -0400 (0:00:00.046) 0:00:24.485 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:53:50 -0400 (0:00:00.042) 0:00:24.528 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 14 September 2024 08:53:50 -0400 (0:00:00.394) 0:00:24.922 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f2a6bd1-91ed-4e62-93ca-aae9877b3112\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f2a6bd1-91ed-4e62-93ca-aae9877b3112" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:53:50 -0400 (0:00:00.057) 0:00:24.980 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:53:50 -0400 (0:00:00.140) 0:00:25.120 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:53:50 -0400 (0:00:00.070) 0:00:25.190 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:53:51 -0400 (0:00:00.464) 0:00:25.654 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 September 2024 08:53:51 -0400 (0:00:00.080) 0:00:25.734 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:53:51 -0400 (0:00:00.107) 0:00:25.842 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:53:51 -0400 (0:00:00.067) 0:00:25.910 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318429.8798823, "block_size": 4096, "blocks": 8, "ctime": 1726318429.8798823, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726318429.8798823, "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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.404) 0:00:26.314 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.059) 0:00:26.374 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017765", "end": "2024-09-14 08:53:52.446592", "rc": 0, "start": "2024-09-14 08:53:52.428827" } 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.453) 0:00:26.828 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.044) 0:00:26.872 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.039) 0:00:26.911 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.038) 0:00:26.950 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.072) 0:00:27.023 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.040) 0:00:27.063 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.040) 0:00:27.103 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.041) 0:00:27.144 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.038) 0:00:27.183 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.033) 0:00:27.216 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.038) 0:00:27.254 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.067) 0:00:27.322 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036054", "end": "2024-09-14 08:53:53.338562", "rc": 1, "start": "2024-09-14 08:53:53.302508" } STDOUT: Connection 'statebr' (2f2a6bd1-91ed-4e62-93ca-aae9877b3112) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.393) 0:00:27.715 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.065) 0:00:27.780 **** ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.036) 0:00:27.817 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.072) 0:00:27.890 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.092) 0:00:27.983 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.057) 0:00:28.041 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002961", "end": "2024-09-14 08:53:54.039161", "rc": 0, "start": "2024-09-14 08:53:54.036200" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.366) 0:00:28.407 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.037) 0:00:28.445 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.037) 0:00:28.482 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.069) 0:00:28.552 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.065) 0:00:28.617 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.067) 0:00:28.685 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.044) 0:00:28.729 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.035) 0:00:28.765 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.035) 0:00:28.800 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:56 -0400 (0:00:01.659) 0:00:30.460 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:57 -0400 (0:00:01.445) 0:00:31.906 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.057) 0:00:31.964 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.053) 0:00:32.017 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.052) 0:00:32.070 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.058) 0:00:32.129 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.120) 0:00:32.250 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.083) 0:00:32.333 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.064) 0:00:32.398 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.111) 0:00:32.510 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.064) 0:00:32.575 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.053) 0:00:32.628 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.067) 0:00:32.696 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.702) 0:00:33.399 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.052) 0:00:33.451 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.055) 0:00:33.507 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.062) 0:00:33.569 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.633) 0:00:34.203 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.040) 0:00:34.244 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.046) 0:00:34.290 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.074) 0:00:34.365 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.035) 0:00:34.400 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.450) 0:00:34.851 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.081) 0:00:34.932 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.106) 0:00:35.039 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.117) 0:00:35.156 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.084) 0:00:35.241 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.050) 0:00:35.291 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:01 -0400 (0:00:00.042) 0:00:35.334 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:01 -0400 (0:00:00.039) 0:00:35.373 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:02 -0400 (0:00:01.545) 0:00:36.918 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:04 -0400 (0:00:01.454) 0:00:38.373 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.045) 0:00:38.419 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.038) 0:00:38.457 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.043) 0:00:38.501 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.061) 0:00:38.562 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.067) 0:00:38.629 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.070) 0:00:38.699 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.112) 0:00:38.812 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.143) 0:00:38.955 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.049) 0:00:39.005 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.050) 0:00:39.056 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.051) 0:00:39.107 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.525) 0:00:39.633 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.063) 0:00:39.696 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.038) 0:00:39.735 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.036) 0:00:39.772 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:06 -0400 (0:00:00.556) 0:00:40.328 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:06 -0400 (0:00:00.061) 0:00:40.390 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:06 -0400 (0:00:00.075) 0:00:40.466 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b0f1e41-bb1e-4264-bab2-daf71f1e77ce skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:06 -0400 (0:00:00.135) 0:00:40.602 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:06 -0400 (0:00:00.078) 0:00:40.680 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:54:06 -0400 (0:00:00.558) 0:00:41.238 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.129) 0:00:41.368 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.084) 0:00:41.453 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318439.769422, "block_size": 4096, "blocks": 0, "ctime": 1726318439.769422, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37258, "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": 1726318439.769422, "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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.378) 0:00:41.831 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.065) 0:00:41.897 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.113) 0:00:42.010 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.043) 0:00:42.054 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318439.8119524, "block_size": 4096, "blocks": 8, "ctime": 1726318439.7679522, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726318439.7679522, "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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.509) 0:00:42.563 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.061) 0:00:42.625 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017340", "end": "2024-09-14 08:54:08.725344", "rc": 0, "start": "2024-09-14 08:54:08.708004" } 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.493) 0:00:43.119 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.097) 0:00:43.216 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.045) 0:00:43.261 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.048) 0:00:43.310 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.047) 0:00:43.358 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.049) 0:00:43.407 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.064) 0:00:43.472 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.064) 0:00:43.536 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.062) 0:00:43.598 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.057) 0:00:43.656 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.064) 0:00:43.720 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:54:09 -0400 (0:00:00.112) 0:00:43.832 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.062672", "end": "2024-09-14 08:54:09.982636", "rc": 1, "start": "2024-09-14 08:54:09.919964" } STDOUT: Connection 'statebr' (8b0f1e41-bb1e-4264-bab2-daf71f1e77ce) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 14 September 2024 08:54:10 -0400 (0:00:00.518) 0:00:44.351 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:54:10 -0400 (0:00:00.060) 0:00:44.412 **** ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:54:10 -0400 (0:00:00.042) 0:00:44.454 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:54:10 -0400 (0:00:00.203) 0:00:44.657 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:54:10 -0400 (0:00:00.094) 0:00:44.752 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:54:10 -0400 (0:00:00.067) 0:00:44.820 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002764", "end": "2024-09-14 08:54:10.805055", "rc": 0, "start": "2024-09-14 08:54:10.802291" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:54:10 -0400 (0:00:00.374) 0:00:45.194 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:54:10 -0400 (0:00:00.057) 0:00:45.251 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:54:11 -0400 (0:00:00.055) 0:00:45.307 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:54:11 -0400 (0:00:00.106) 0:00:45.414 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:11 -0400 (0:00:00.071) 0:00:45.486 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:11 -0400 (0:00:00.078) 0:00:45.564 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:11 -0400 (0:00:00.068) 0:00:45.632 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:11 -0400 (0:00:00.112) 0:00:45.745 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:11 -0400 (0:00:00.066) 0:00:45.812 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:13 -0400 (0:00:01.605) 0:00:47.418 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:14 -0400 (0:00:01.495) 0:00:48.914 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:14 -0400 (0:00:00.097) 0:00:49.011 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:14 -0400 (0:00:00.138) 0:00:49.150 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:14 -0400 (0:00:00.046) 0:00:49.196 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:14 -0400 (0:00:00.066) 0:00:49.262 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.081) 0:00:49.344 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.075) 0:00:49.419 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.057) 0:00:49.476 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.077) 0:00:49.553 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.035) 0:00:49.589 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.035) 0:00:49.625 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.043) 0:00:49.668 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.508) 0:00:50.177 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.052) 0:00:50.230 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.041) 0:00:50.271 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:16 -0400 (0:00:00.035) 0:00:50.307 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:16 -0400 (0:00:00.645) 0:00:50.952 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:16 -0400 (0:00:00.055) 0:00:51.008 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:16 -0400 (0:00:00.065) 0:00:51.073 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:16 -0400 (0:00:00.064) 0:00:51.138 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:16 -0400 (0:00:00.062) 0:00:51.200 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:54:17 -0400 (0:00:00.375) 0:00:51.576 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 September 2024 08:54:17 -0400 (0:00:00.038) 0:00:51.614 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:17 -0400 (0:00:00.059) 0:00:51.674 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:17 -0400 (0:00:00.068) 0:00:51.743 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:17 -0400 (0:00:00.042) 0:00:51.786 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:17 -0400 (0:00:00.034) 0:00:51.820 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:17 -0400 (0:00:00.035) 0:00:51.855 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:19 -0400 (0:00:01.475) 0:00:53.331 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:20 -0400 (0:00:01.378) 0:00:54.710 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.036) 0:00:54.747 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.036) 0:00:54.783 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.065) 0:00:54.848 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.044) 0:00:54.892 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.066) 0:00:54.959 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.059) 0:00:55.018 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.050) 0:00:55.068 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.086) 0:00:55.155 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.043) 0:00:55.199 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.036) 0:00:55.236 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.041) 0:00:55.278 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:21 -0400 (0:00:00.549) 0:00:55.828 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:21 -0400 (0:00:00.047) 0:00:55.876 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:21 -0400 (0:00:00.062) 0:00:55.938 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:21 -0400 (0:00:00.067) 0:00:56.005 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.599) 0:00:56.604 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.121) 0:00:56.726 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.059) 0:00:56.785 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb53d009-730a-4678-bc42-7e177c91c08f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.067) 0:00:56.853 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.058) 0:00:56.912 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.383) 0:00:57.296 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.064) 0:00:57.360 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.073) 0:00:57.434 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.070) 0:00:57.504 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.043) 0:00:57.548 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.036) 0:00:57.584 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.036) 0:00:57.621 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:24 -0400 (0:00:01.511) 0:00:59.132 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:26 -0400 (0:00:01.472) 0:01:00.605 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:26 -0400 (0:00:00.072) 0:01:00.678 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:26 -0400 (0:00:00.098) 0:01:00.776 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:26 -0400 (0:00:00.137) 0:01:00.914 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:26 -0400 (0:00:00.097) 0:01:01.011 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:26 -0400 (0:00:00.131) 0:01:01.143 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:26 -0400 (0:00:00.057) 0:01:01.200 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:26 -0400 (0:00:00.058) 0:01:01.259 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.110) 0:01:01.370 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.062) 0:01:01.432 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.046) 0:01:01.478 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.053) 0:01:01.532 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.619) 0:01:02.151 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.065) 0:01:02.217 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.051) 0:01:02.269 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.049) 0:01:02.318 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.574) 0:01:02.892 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.063) 0:01:02.955 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.048) 0:01:03.004 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.126) 0:01:03.130 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.060) 0:01:03.190 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:54:29 -0400 (0:00:00.479) 0:01:03.669 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:54:29 -0400 (0:00:00.133) 0:01:03.803 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:54:29 -0400 (0:00:00.092) 0:01:03.896 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318456.5203536, "block_size": 4096, "blocks": 0, "ctime": 1726318456.5203536, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37389, "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": 1726318456.5203536, "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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.473) 0:01:04.369 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.066) 0:01:04.435 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.108) 0:01:04.544 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.051) 0:01:04.596 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.406) 0:01:05.002 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.053) 0:01:05.055 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017786", "end": "2024-09-14 08:54:31.089142", "rc": 1, "start": "2024-09-14 08:54:31.071356" } 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.438) 0:01:05.494 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.072) 0:01:05.567 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.052) 0:01:05.619 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.059) 0:01:05.679 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.051) 0:01:05.731 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.039) 0:01:05.770 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.040) 0:01:05.810 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.034) 0:01:05.845 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.037) 0:01:05.883 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.088) 0:01:05.972 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.062715", "end": "2024-09-14 08:54:32.051295", "rc": 1, "start": "2024-09-14 08:54:31.988580" } STDOUT: Connection 'statebr' (fb53d009-730a-4678-bc42-7e177c91c08f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.489) 0:01:06.461 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.076) 0:01:06.537 **** ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.044) 0:01:06.582 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.113) 0:01:06.696 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.061) 0:01:06.757 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.083) 0:01:06.840 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003050", "end": "2024-09-14 08:54:32.875206", "rc": 0, "start": "2024-09-14 08:54:32.872156" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.512) 0:01:07.352 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.092) 0:01:07.445 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.058) 0:01:07.504 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.182) 0:01:07.686 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.149) 0:01:07.836 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.099) 0:01:07.936 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.075) 0:01:08.011 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.060) 0:01:08.071 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.109) 0:01:08.181 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:35 -0400 (0:00:01.529) 0:01:09.710 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:36 -0400 (0:00:01.480) 0:01:11.191 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:36 -0400 (0:00:00.089) 0:01:11.280 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.116) 0:01:11.397 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.072) 0:01:11.469 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.058) 0:01:11.528 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.084) 0:01:11.612 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.063) 0:01:11.675 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.076) 0:01:11.752 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.117) 0:01:11.869 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.056) 0:01:11.926 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.057) 0:01:11.983 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.052) 0:01:12.036 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.544) 0:01:12.580 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.050) 0:01:12.631 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.043) 0:01:12.674 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.037) 0:01:12.711 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.638) 0:01:13.350 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.046) 0:01:13.396 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.056) 0:01:13.453 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.060) 0:01:13.513 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.054) 0:01:13.567 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.370) 0:01:13.938 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.043) 0:01:13.982 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.099) 0:01:14.082 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.114) 0:01:14.196 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.070) 0:01:14.267 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:40 -0400 (0:00:00.077) 0:01:14.345 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:40 -0400 (0:00:00.057) 0:01:14.402 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:41 -0400 (0:00:01.515) 0:01:15.918 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:43 -0400 (0:00:01.390) 0:01:17.308 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.038) 0:01:17.346 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.035) 0:01:17.382 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.087) 0:01:17.469 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.055) 0:01:17.525 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.073) 0:01:17.598 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.101) 0:01:17.700 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.074) 0:01:17.774 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.108) 0:01:17.883 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.099) 0:01:17.982 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.092) 0:01:18.075 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:43 -0400 (0:00:00.068) 0:01:18.144 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:44 -0400 (0:00:00.764) 0:01:18.909 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:44 -0400 (0:00:00.053) 0:01:18.962 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:44 -0400 (0:00:00.042) 0:01:19.005 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:44 -0400 (0:00:00.038) 0:01:19.043 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.564) 0:01:19.608 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.036) 0:01:19.644 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.098) 0:01:19.743 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d70af79c-d617-4d45-9329-4c640dcfa2bb skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.063) 0:01:19.806 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.091) 0:01:19.898 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 September 2024 08:54:46 -0400 (0:00:00.425) 0:01:20.323 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:46 -0400 (0:00:00.078) 0:01:20.402 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:46 -0400 (0:00:00.113) 0:01:20.516 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:46 -0400 (0:00:00.082) 0:01:20.598 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:46 -0400 (0:00:00.076) 0:01:20.675 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:46 -0400 (0:00:00.061) 0:01:20.737 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:48 -0400 (0:00:01.669) 0:01:22.406 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:49 -0400 (0:00:01.382) 0:01:23.789 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:49 -0400 (0:00:00.038) 0:01:23.827 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:49 -0400 (0:00:00.036) 0:01:23.864 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:49 -0400 (0:00:00.036) 0:01:23.901 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:49 -0400 (0:00:00.036) 0:01:23.937 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:49 -0400 (0:00:00.056) 0:01:23.994 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:49 -0400 (0:00:00.038) 0:01:24.033 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:49 -0400 (0:00:00.106) 0:01:24.139 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:49 -0400 (0:00:00.114) 0:01:24.254 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:50 -0400 (0:00:00.058) 0:01:24.313 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:50 -0400 (0:00:00.057) 0:01:24.370 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:50 -0400 (0:00:00.062) 0:01:24.432 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:50 -0400 (0:00:00.616) 0:01:25.049 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:50 -0400 (0:00:00.067) 0:01:25.117 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:50 -0400 (0:00:00.057) 0:01:25.174 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:50 -0400 (0:00:00.059) 0:01:25.234 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:51 -0400 (0:00:00.581) 0:01:25.816 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:51 -0400 (0:00:00.035) 0:01:25.851 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:51 -0400 (0:00:00.043) 0:01:25.894 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:51 -0400 (0:00:00.053) 0:01:25.948 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:51 -0400 (0:00:00.050) 0:01:25.999 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.378) 0:01:26.377 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.106) 0:01:26.484 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.083) 0:01:26.567 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.080) 0:01:26.648 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.047) 0:01:26.696 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.035) 0:01:26.732 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.047) 0:01:26.779 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:54 -0400 (0:00:01.526) 0:01:28.306 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:55 -0400 (0:00:01.368) 0:01:29.675 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.038) 0:01:29.713 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.035) 0:01:29.749 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.037) 0:01:29.787 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.038) 0:01:29.825 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.050) 0:01:29.876 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.036) 0:01:29.913 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.078) 0:01:29.991 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.071) 0:01:30.063 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.037) 0:01:30.100 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.037) 0:01:30.137 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.041) 0:01:30.178 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.584) 0:01:30.763 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.065) 0:01:30.829 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.124) 0:01:30.953 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.085) 0:01:31.039 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:57 -0400 (0:00:00.677) 0:01:31.717 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:57 -0400 (0:00:00.043) 0:01:31.760 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:57 -0400 (0:00:00.049) 0:01:31.810 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:57 -0400 (0:00:00.046) 0:01:31.857 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:57 -0400 (0:00:00.071) 0:01:31.929 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:54:57 -0400 (0:00:00.357) 0:01:32.286 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 September 2024 08:54:58 -0400 (0:00:00.078) 0:01:32.365 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:54:58 -0400 (0:00:00.063) 0:01:32.428 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:54:58 -0400 (0:00:00.036) 0:01:32.465 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:54:58 -0400 (0:00:00.372) 0:01:32.838 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:54:58 -0400 (0:00:00.035) 0:01:32.874 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017013", "end": "2024-09-14 08:54:58.867449", "rc": 1, "start": "2024-09-14 08:54:58.850436" } 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:54:58 -0400 (0:00:00.383) 0:01:33.257 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.053) 0:01:33.310 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.041) 0:01:33.352 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.046) 0:01:33.398 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.087) 0:01:33.486 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.037) 0:01:33.523 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.039) 0:01:33.563 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.078) 0:01:33.641 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.102) 0:01:33.744 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.412) 0:01:34.157 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.041) 0:01:34.199 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.042) 0:01:34.241 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.113) 0:01:34.355 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035014", "end": "2024-09-14 08:55:00.418424", "rc": 1, "start": "2024-09-14 08:55:00.383410" } 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.482) 0:01:34.838 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.200) 0:01:35.039 **** ok: [managed_node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.083) 0:01:35.123 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.114) 0:01:35.237 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.095) 0:01:35.333 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.092) 0:01:35.426 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002756", "end": "2024-09-14 08:55:01.452897", "rc": 0, "start": "2024-09-14 08:55:01.450141" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.395) 0:01:35.822 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.038) 0:01:35.861 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.036) 0:01:35.897 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.076) 0:01:35.974 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.060) 0:01:36.034 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.103) 0:01:36.138 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:55:02 -0400 (0:00:00.175) 0:01:36.313 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:55:02 -0400 (0:00:00.054) 0:01:36.367 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:55:02 -0400 (0:00:00.060) 0:01:36.427 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:55:03 -0400 (0:00:01.587) 0:01:38.015 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:55:05 -0400 (0:00:01.537) 0:01:39.552 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.170) 0:01:39.723 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.056) 0:01:39.779 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.112) 0:01:39.892 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.057) 0:01:39.949 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.067) 0:01:40.016 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.059) 0:01:40.076 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.064) 0:01:40.141 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.111) 0:01:40.253 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.065) 0:01:40.318 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.066) 0:01:40.385 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.096) 0:01:40.481 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.603) 0:01:41.085 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.043) 0:01:41.128 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.055) 0:01:41.183 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.101) 0:01:41.285 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:55:07 -0400 (0:00:00.671) 0:01:41.957 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:55:07 -0400 (0:00:00.070) 0:01:42.027 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:55:07 -0400 (0:00:00.055) 0:01:42.083 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:55:07 -0400 (0:00:00.046) 0:01:42.129 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:55:07 -0400 (0:00:00.042) 0:01:42.171 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:55:08 -0400 (0:00:00.352) 0:01:42.524 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 September 2024 08:55:08 -0400 (0:00:00.046) 0:01:42.570 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:55:08 -0400 (0:00:00.118) 0:01:42.688 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:55:08 -0400 (0:00:00.122) 0:01:42.810 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:55:08 -0400 (0:00:00.078) 0:01:42.889 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:55:08 -0400 (0:00:00.042) 0:01:42.932 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:55:08 -0400 (0:00:00.039) 0:01:42.972 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:55:10 -0400 (0:00:01.544) 0:01:44.516 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:55:11 -0400 (0:00:01.476) 0:01:45.992 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:55:11 -0400 (0:00:00.043) 0:01:46.036 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:55:11 -0400 (0:00:00.043) 0:01:46.079 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:55:11 -0400 (0:00:00.083) 0:01:46.163 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:55:11 -0400 (0:00:00.036) 0:01:46.199 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:55:11 -0400 (0:00:00.042) 0:01:46.242 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:55:11 -0400 (0:00:00.036) 0:01:46.278 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.042) 0:01:46.321 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.071) 0:01:46.392 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.054) 0:01:46.447 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.044) 0:01:46.492 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.060) 0:01:46.552 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.588) 0:01:47.141 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.051) 0:01:47.192 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.042) 0:01:47.235 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:55:12 -0400 (0:00:00.057) 0:01:47.293 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:55:13 -0400 (0:00:00.605) 0:01:47.898 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:55:13 -0400 (0:00:00.037) 0:01:47.936 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:55:13 -0400 (0:00:00.038) 0:01:47.975 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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, 50474dad-0577-4270-bb06-def7de38ec8e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 50474dad-0577-4270-bb06-def7de38ec8e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:55:13 -0400 (0:00:00.039) 0:01:48.014 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:55:13 -0400 (0:00:00.036) 0:01:48.051 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 September 2024 08:55:14 -0400 (0:00:00.353) 0:01:48.405 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:55:14 -0400 (0:00:00.074) 0:01:48.480 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:55:14 -0400 (0:00:00.073) 0:01:48.553 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:55:14 -0400 (0:00:00.042) 0:01:48.596 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:55:14 -0400 (0:00:00.036) 0:01:48.633 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:55:14 -0400 (0:00:00.037) 0:01:48.670 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:55:15 -0400 (0:00:01.483) 0:01:50.154 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:55:17 -0400 (0:00:01.373) 0:01:51.527 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.048) 0:01:51.576 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.037) 0:01:51.613 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.036) 0:01:51.650 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.036) 0:01:51.686 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.077) 0:01:51.764 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.037) 0:01:51.801 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.041) 0:01:51.843 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.074) 0:01:51.917 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.037) 0:01:51.955 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.036) 0:01:51.992 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:55:17 -0400 (0:00:00.045) 0:01:52.037 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:55:18 -0400 (0:00:00.508) 0:01:52.545 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:55:18 -0400 (0:00:00.054) 0:01:52.600 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:55:18 -0400 (0:00:00.036) 0:01:52.636 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:55:18 -0400 (0:00:00.036) 0:01:52.673 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:55:18 -0400 (0:00:00.569) 0:01:53.242 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.075) 0:01:53.317 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.054) 0:01:53.372 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.050) 0:01:53.422 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.044) 0:01:53.466 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.362) 0:01:53.829 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.081) 0:01:53.910 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.069) 0:01:53.979 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.069) 0:01:54.048 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.050) 0:01:54.099 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.046) 0:01:54.146 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:55:19 -0400 (0:00:00.039) 0:01:54.185 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:55:21 -0400 (0:00:01.519) 0:01:55.705 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:55:22 -0400 (0:00:01.385) 0:01:57.091 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:55:22 -0400 (0:00:00.057) 0:01:57.148 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:55:22 -0400 (0:00:00.042) 0:01:57.191 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:55:22 -0400 (0:00:00.045) 0:01:57.236 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.110) 0:01:57.346 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.072) 0:01:57.418 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.059) 0:01:57.478 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.051) 0:01:57.529 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.084) 0:01:57.613 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.038) 0:01:57.651 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.036) 0:01:57.688 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.051) 0:01:57.740 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.507) 0:01:58.247 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:55:23 -0400 (0:00:00.042) 0:01:58.290 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:55:24 -0400 (0:00:00.035) 0:01:58.325 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:55:24 -0400 (0:00:00.036) 0:01:58.362 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:55:24 -0400 (0:00:00.526) 0:01:58.889 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:55:24 -0400 (0:00:00.106) 0:01:58.996 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:55:24 -0400 (0:00:00.057) 0:01:59.054 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:55:24 -0400 (0:00:00.059) 0:01:59.113 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:55:24 -0400 (0:00:00.056) 0:01:59.170 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:55:25 -0400 (0:00:00.402) 0:01:59.572 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 September 2024 08:55:25 -0400 (0:00:00.104) 0:01:59.677 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:55:25 -0400 (0:00:00.094) 0:01:59.772 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:55:25 -0400 (0:00:00.066) 0:01:59.838 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:55:25 -0400 (0:00:00.385) 0:02:00.224 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:55:25 -0400 (0:00:00.035) 0:02:00.260 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016998", "end": "2024-09-14 08:55:26.267385", "rc": 1, "start": "2024-09-14 08:55:26.250387" } 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:55:26 -0400 (0:00:00.374) 0:02:00.635 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:55:26 -0400 (0:00:00.075) 0:02:00.711 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:55:26 -0400 (0:00:00.046) 0:02:00.757 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:55:26 -0400 (0:00:00.060) 0:02:00.817 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:55:26 -0400 (0:00:00.061) 0:02:00.879 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 September 2024 08:55:26 -0400 (0:00:00.066) 0:02:00.946 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 14 September 2024 08:55:26 -0400 (0:00:00.057) 0:02:01.003 **** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.846822", "end": "2024-09-14 08:55:27.867598", "rc": 0, "start": "2024-09-14 08:55:27.020776" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 14 September 2024 08:55:27 -0400 (0:00:01.243) 0:02:02.246 **** ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 14 September 2024 08:55:27 -0400 (0:00:00.045) 0:02:02.292 **** ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:55:28 -0400 (0:00:00.037) 0:02:02.330 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:55:28 -0400 (0:00:00.071) 0:02:02.401 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:55:28 -0400 (0:00:00.086) 0:02:02.487 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:55:28 -0400 (0:00:00.472) 0:02:02.960 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:55:28 -0400 (0:00:00.054) 0:02:03.014 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:55:28 -0400 (0:00:00.039) 0:02:03.053 **** included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:55:28 -0400 (0:00:00.104) 0:02:03.158 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034235", "end": "2024-09-14 08:55:29.379569", "rc": 1, "start": "2024-09-14 08:55:29.345334" } 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 14 September 2024 08:55:29 -0400 (0:00:00.596) 0:02:03.754 **** ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007782", "end": "2024-09-14 08:55:29.872700", "rc": 0, "start": "2024-09-14 08:55:29.864918" } 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:0d:34:fd:e7:b1 brd ff:ff:ff:ff:ff:ff inet 10.31.11.81/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2720sec preferred_lft 2720sec inet6 fe80::100d:34ff:fefd:e7b1/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.81 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.81 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-Bnl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 14 September 2024 08:55:29 -0400 (0:00:00.525) 0:02:04.280 **** ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.185365", "end": "2024-09-14 08:55:30.539378", "rc": 0, "start": "2024-09-14 08:55:30.354013" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 2242 0 --:--:-- --:--:-- --:--:-- 2242 % 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 12652 0 --:--:-- --:--:-- --:--:-- 12652 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 14 September 2024 08:55:30 -0400 (0:00:00.619) 0:02:04.900 **** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-Bnl/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-Bnl/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-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-Bnl/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-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-Bnl/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-Bnl/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-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-Bnl/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-Bnl/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-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-Bnl/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-Bnl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21