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-l8O/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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 12 August 2024 05:20:46 -0400 (0:00:00.035) 0:00:00.035 ********* ok: [managed_node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 12 August 2024 05:20:47 -0400 (0:00:00.998) 0:00:01.033 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 12 August 2024 05:20:47 -0400 (0:00:00.042) 0:00:01.075 ********* ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 12 August 2024 05:20:48 -0400 (0:00:00.523) 0:00:01.599 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 12 August 2024 05:20:48 -0400 (0:00:00.476) 0:00:02.075 ********* ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 12 August 2024 05:20:49 -0400 (0:00:00.052) 0:00:02.128 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 12 August 2024 05:20:49 -0400 (0:00:00.045) 0:00:02.173 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 12 August 2024 05:20:49 -0400 (0:00:00.086) 0:00:02.260 ********* ok: [managed_node3] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Monday 12 August 2024 05:20:49 -0400 (0:00:00.451) 0:00:02.712 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Monday 12 August 2024 05:20:49 -0400 (0:00:00.024) 0:00:02.736 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Monday 12 August 2024 05:20:49 -0400 (0:00:00.023) 0:00:02.759 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.220375", "end": "2024-08-12 05:20:50.157341", "rc": 0, "start": "2024-08-12 05:20:49.936966" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Monday 12 August 2024 05:20:50 -0400 (0:00:00.550) 0:00:03.310 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 12 August 2024 05:20:50 -0400 (0:00:00.016) 0:00:03.327 ********* ok: [managed_node3] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 12 August 2024 05:20:50 -0400 (0:00:00.017) 0:00:03.344 ********* ok: [managed_node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 12 August 2024 05:20:50 -0400 (0:00:00.656) 0:00:04.001 ********* ok: [managed_node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 12 August 2024 05:20:50 -0400 (0:00:00.036) 0:00:04.037 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:20:50 -0400 (0:00:00.049) 0:00:04.086 ********* ok: [managed_node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:20:51 -0400 (0:00:00.026) 0:00:04.113 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:20:51 -0400 (0:00:00.085) 0:00:04.198 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:20:51 -0400 (0:00:00.035) 0:00:04.234 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:20:51 -0400 (0:00:00.036) 0:00:04.270 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002739", "end": "2024-08-12 05:20:51.513413", "rc": 0, "start": "2024-08-12 05:20:51.510674" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:20:51 -0400 (0:00:00.429) 0:00:04.699 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:20:51 -0400 (0:00:00.055) 0:00:04.754 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:20:51 -0400 (0:00:00.074) 0:00:04.829 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 12 August 2024 05:20:51 -0400 (0:00:00.080) 0:00:04.909 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006926", "end": "2024-08-12 05:20:52.117270", "rc": 1, "start": "2024-08-12 05:20:52.110344" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:20:52 -0400 (0:00:00.366) 0:00:05.276 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:20:52 -0400 (0:00:00.028) 0:00:05.304 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:20:52 -0400 (0:00:00.353) 0:00:05.657 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:20:52 -0400 (0:00:00.021) 0:00:05.679 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:20:52 -0400 (0:00:00.030) 0:00:05.709 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:20:52 -0400 (0:00:00.097) 0:00:05.807 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:20:52 -0400 (0:00:00.046) 0:00:05.853 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:20:52 -0400 (0:00:00.033) 0:00:05.886 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:20:52 -0400 (0:00:00.049) 0:00:05.936 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:20:52 -0400 (0:00:00.079) 0:00:06.016 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:20:54 -0400 (0:00:01.645) 0:00:07.661 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:20:56 -0400 (0:00:01.842) 0:00:09.503 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:20:56 -0400 (0:00:00.076) 0:00:09.580 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:20:56 -0400 (0:00:00.049) 0:00:09.629 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:20:56 -0400 (0:00:00.044) 0:00:09.674 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:20:56 -0400 (0:00:00.039) 0:00:09.714 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:20:56 -0400 (0:00:00.044) 0:00:09.758 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:20:56 -0400 (0:00:00.036) 0:00:09.795 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:20:56 -0400 (0:00:00.047) 0:00:09.842 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:20:56 -0400 (0:00:00.124) 0:00:09.967 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:20:56 -0400 (0:00:00.103) 0:00:10.070 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:20:57 -0400 (0:00:00.048) 0:00:10.118 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:20:57 -0400 (0:00:00.055) 0:00:10.174 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:20:57 -0400 (0:00:00.789) 0:00:10.964 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:20:57 -0400 (0:00:00.063) 0:00:11.028 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:20:58 -0400 (0:00:00.077) 0:00:11.105 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:20:58 -0400 (0:00:00.043) 0:00:11.149 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24211cc8-e2d5-47e1-8ca7-e79b6bf50965 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:20:59 -0400 (0:00:00.969) 0:00:12.119 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:20:59 -0400 (0:00:00.043) 0:00:12.162 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24211cc8-e2d5-47e1-8ca7-e79b6bf50965" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:20:59 -0400 (0:00:00.046) 0:00:12.208 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24211cc8-e2d5-47e1-8ca7-e79b6bf50965\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24211cc8-e2d5-47e1-8ca7-e79b6bf50965" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:20:59 -0400 (0:00:00.044) 0:00:12.253 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:20:59 -0400 (0:00:00.036) 0:00:12.289 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:20:59 -0400 (0:00:00.517) 0:00:12.807 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24211cc8-e2d5-47e1-8ca7-e79b6bf50965\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24211cc8-e2d5-47e1-8ca7-e79b6bf50965" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:20:59 -0400 (0:00:00.060) 0:00:12.867 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:20:59 -0400 (0:00:00.108) 0:00:12.976 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:20:59 -0400 (0:00:00.103) 0:00:13.079 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:21:00 -0400 (0:00:00.053) 0:00:13.133 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454458.8731642, "block_size": 4096, "blocks": 8, "ctime": 1723454458.872164, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723454458.872164, "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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:21:00 -0400 (0:00:00.383) 0:00:13.516 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:21:00 -0400 (0:00:00.042) 0:00:13.559 ********* ok: [managed_node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017343", "end": "2024-08-12 05:21:00.839523", "rc": 0, "start": "2024-08-12 05:21:00.822180" } 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:21:00 -0400 (0:00:00.449) 0:00:14.008 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:21:00 -0400 (0:00:00.041) 0:00:14.049 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:21:00 -0400 (0:00:00.040) 0:00:14.089 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:21:01 -0400 (0:00:00.041) 0:00:14.131 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:21:01 -0400 (0:00:00.039) 0:00:14.171 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:21:01 -0400 (0:00:00.039) 0:00:14.210 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:21:01 -0400 (0:00:00.041) 0:00:14.251 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:21:01 -0400 (0:00:00.041) 0:00:14.292 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:21:01 -0400 (0:00:00.037) 0:00:14.330 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:21:01 -0400 (0:00:00.073) 0:00:14.403 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:01 -0400 (0:00:00.092) 0:00:14.495 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454458.874137, "block_size": 4096, "blocks": 0, "ctime": 1723454458.874137, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35999, "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": 1723454458.874137, "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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:21:01 -0400 (0:00:00.364) 0:00:14.860 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:21:01 -0400 (0:00:00.054) 0:00:14.915 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:21:01 -0400 (0:00:00.060) 0:00:14.975 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:21:01 -0400 (0:00:00.104) 0:00:15.079 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.053290", "end": "2024-08-12 05:21:02.404074", "rc": 1, "start": "2024-08-12 05:21:02.350784" } STDOUT: Connection 'statebr' (24211cc8-e2d5-47e1-8ca7-e79b6bf50965) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 12 August 2024 05:21:02 -0400 (0:00:00.522) 0:00:15.602 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:21:02 -0400 (0:00:00.096) 0:00:15.698 ********* ok: [managed_node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:21:02 -0400 (0:00:00.051) 0:00:15.750 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:21:02 -0400 (0:00:00.117) 0:00:15.867 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:21:02 -0400 (0:00:00.097) 0:00:15.965 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:21:02 -0400 (0:00:00.132) 0:00:16.097 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002762", "end": "2024-08-12 05:21:03.331377", "rc": 0, "start": "2024-08-12 05:21:03.328615" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:21:03 -0400 (0:00:00.434) 0:00:16.531 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:21:03 -0400 (0:00:00.052) 0:00:16.584 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:21:03 -0400 (0:00:00.055) 0:00:16.640 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 12 August 2024 05:21:03 -0400 (0:00:00.114) 0:00:16.754 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005900", "end": "2024-08-12 05:21:04.064636", "rc": 1, "start": "2024-08-12 05:21:04.058736" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:21:04 -0400 (0:00:00.519) 0:00:17.273 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:04 -0400 (0:00:00.134) 0:00:17.408 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:21:04 -0400 (0:00:00.499) 0:00:17.908 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:21:04 -0400 (0:00:00.059) 0:00:17.967 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 12 August 2024 05:21:04 -0400 (0:00:00.067) 0:00:18.035 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:05 -0400 (0:00:00.106) 0:00:18.141 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:05 -0400 (0:00:00.097) 0:00:18.239 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:05 -0400 (0:00:00.056) 0:00:18.295 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:05 -0400 (0:00:00.040) 0:00:18.336 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:05 -0400 (0:00:00.043) 0:00:18.380 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:06 -0400 (0:00:01.582) 0:00:19.962 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:08 -0400 (0:00:01.642) 0:00:21.605 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:08 -0400 (0:00:00.037) 0:00:21.642 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:08 -0400 (0:00:00.037) 0:00:21.679 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:08 -0400 (0:00:00.037) 0:00:21.717 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:08 -0400 (0:00:00.036) 0:00:21.753 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:08 -0400 (0:00:00.045) 0:00:21.798 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:08 -0400 (0:00:00.045) 0:00:21.844 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:08 -0400 (0:00:00.067) 0:00:21.911 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:08 -0400 (0:00:00.095) 0:00:22.007 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:08 -0400 (0:00:00.046) 0:00:22.053 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:08 -0400 (0:00:00.048) 0:00:22.101 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:09 -0400 (0:00:00.060) 0:00:22.162 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:09 -0400 (0:00:00.552) 0:00:22.715 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:09 -0400 (0:00:00.042) 0:00:22.757 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:09 -0400 (0:00:00.037) 0:00:22.795 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:09 -0400 (0:00:00.036) 0:00:22.831 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f88b47c-80c2-455a-ab22-6377a2c8d408 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:10 -0400 (0:00:00.524) 0:00:23.356 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:10 -0400 (0:00:00.056) 0:00:23.412 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f88b47c-80c2-455a-ab22-6377a2c8d408" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:10 -0400 (0:00:00.060) 0:00:23.473 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f88b47c-80c2-455a-ab22-6377a2c8d408\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f88b47c-80c2-455a-ab22-6377a2c8d408" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:10 -0400 (0:00:00.059) 0:00:23.533 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:10 -0400 (0:00:00.061) 0:00:23.594 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 12 August 2024 05:21:10 -0400 (0:00:00.480) 0:00:24.075 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f88b47c-80c2-455a-ab22-6377a2c8d408\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f88b47c-80c2-455a-ab22-6377a2c8d408" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:21:11 -0400 (0:00:00.073) 0:00:24.149 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:21:11 -0400 (0:00:00.168) 0:00:24.317 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:11 -0400 (0:00:00.154) 0:00:24.471 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:21:11 -0400 (0:00:00.444) 0:00:24.915 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:21:11 -0400 (0:00:00.063) 0:00:24.979 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:21:11 -0400 (0:00:00.117) 0:00:25.096 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:21:12 -0400 (0:00:00.086) 0:00:25.183 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454470.157289, "block_size": 4096, "blocks": 8, "ctime": 1723454470.157289, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723454470.157289, "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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:21:12 -0400 (0:00:00.388) 0:00:25.571 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:21:12 -0400 (0:00:00.061) 0:00:25.632 ********* ok: [managed_node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017499", "end": "2024-08-12 05:21:12.869109", "rc": 0, "start": "2024-08-12 05:21:12.851610" } 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:21:12 -0400 (0:00:00.406) 0:00:26.039 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:21:12 -0400 (0:00:00.042) 0:00:26.082 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:21:13 -0400 (0:00:00.049) 0:00:26.131 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:21:13 -0400 (0:00:00.077) 0:00:26.209 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:21:13 -0400 (0:00:00.089) 0:00:26.298 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:21:13 -0400 (0:00:00.101) 0:00:26.399 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:21:13 -0400 (0:00:00.085) 0:00:26.484 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:21:13 -0400 (0:00:00.119) 0:00:26.604 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:21:13 -0400 (0:00:00.056) 0:00:26.661 ********* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:21:13 -0400 (0:00:00.051) 0:00:26.713 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:21:13 -0400 (0:00:00.045) 0:00:26.758 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:21:13 -0400 (0:00:00.068) 0:00:26.827 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034934", "end": "2024-08-12 05:21:14.063897", "rc": 1, "start": "2024-08-12 05:21:14.028963" } STDOUT: Connection 'statebr' (8f88b47c-80c2-455a-ab22-6377a2c8d408) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 12 August 2024 05:21:14 -0400 (0:00:00.426) 0:00:27.254 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:21:14 -0400 (0:00:00.105) 0:00:27.359 ********* ok: [managed_node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:21:14 -0400 (0:00:00.060) 0:00:27.419 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:21:14 -0400 (0:00:00.168) 0:00:27.588 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:21:14 -0400 (0:00:00.115) 0:00:27.703 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:21:14 -0400 (0:00:00.102) 0:00:27.806 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002853", "end": "2024-08-12 05:21:15.047206", "rc": 0, "start": "2024-08-12 05:21:15.044353" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:21:15 -0400 (0:00:00.440) 0:00:28.246 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:21:15 -0400 (0:00:00.058) 0:00:28.305 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:21:15 -0400 (0:00:00.071) 0:00:28.377 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:21:15 -0400 (0:00:00.131) 0:00:28.508 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:15 -0400 (0:00:00.075) 0:00:28.583 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:15 -0400 (0:00:00.092) 0:00:28.676 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:15 -0400 (0:00:00.050) 0:00:28.727 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:15 -0400 (0:00:00.037) 0:00:28.765 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:15 -0400 (0:00:00.037) 0:00:28.802 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:17 -0400 (0:00:01.518) 0:00:30.321 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:18 -0400 (0:00:01.446) 0:00:31.767 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:18 -0400 (0:00:00.060) 0:00:31.828 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:18 -0400 (0:00:00.140) 0:00:31.969 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:19 -0400 (0:00:00.149) 0:00:32.118 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:19 -0400 (0:00:00.067) 0:00:32.186 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:19 -0400 (0:00:00.073) 0:00:32.259 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:19 -0400 (0:00:00.064) 0:00:32.323 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:19 -0400 (0:00:00.086) 0:00:32.410 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:19 -0400 (0:00:00.167) 0:00:32.578 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:19 -0400 (0:00:00.043) 0:00:32.621 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:19 -0400 (0:00:00.054) 0:00:32.676 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:19 -0400 (0:00:00.051) 0:00:32.727 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:20 -0400 (0:00:00.614) 0:00:33.342 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:20 -0400 (0:00:00.070) 0:00:33.413 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:20 -0400 (0:00:00.059) 0:00:33.472 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:20 -0400 (0:00:00.072) 0:00:33.545 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:21 -0400 (0:00:00.732) 0:00:34.277 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:21 -0400 (0:00:00.053) 0:00:34.331 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:21 -0400 (0:00:00.059) 0:00:34.390 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:21 -0400 (0:00:00.061) 0:00:34.452 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:21 -0400 (0:00:00.056) 0:00:34.508 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:21:21 -0400 (0:00:00.405) 0:00:34.914 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:21:21 -0400 (0:00:00.060) 0:00:34.975 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:21:21 -0400 (0:00:00.104) 0:00:35.080 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:22 -0400 (0:00:00.116) 0:00:35.197 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:22 -0400 (0:00:00.114) 0:00:35.311 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:22 -0400 (0:00:00.068) 0:00:35.380 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:22 -0400 (0:00:00.061) 0:00:35.441 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:22 -0400 (0:00:00.056) 0:00:35.498 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:24 -0400 (0:00:01.636) 0:00:37.134 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:25 -0400 (0:00:01.519) 0:00:38.654 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:25 -0400 (0:00:00.078) 0:00:38.732 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:25 -0400 (0:00:00.068) 0:00:38.801 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:25 -0400 (0:00:00.063) 0:00:38.865 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:25 -0400 (0:00:00.070) 0:00:38.935 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:25 -0400 (0:00:00.070) 0:00:39.006 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:25 -0400 (0:00:00.057) 0:00:39.063 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:26 -0400 (0:00:00.096) 0:00:39.160 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:26 -0400 (0:00:00.232) 0:00:39.392 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:26 -0400 (0:00:00.071) 0:00:39.464 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:26 -0400 (0:00:00.066) 0:00:39.530 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:26 -0400 (0:00:00.073) 0:00:39.604 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:27 -0400 (0:00:00.570) 0:00:40.174 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:27 -0400 (0:00:00.084) 0:00:40.259 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:27 -0400 (0:00:00.066) 0:00:40.326 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:27 -0400 (0:00:00.058) 0:00:40.385 ********* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:27 -0400 (0:00:00.636) 0:00:41.021 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:27 -0400 (0:00:00.074) 0:00:41.096 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:28 -0400 (0:00:00.066) 0:00:41.163 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 21a3a88f-5b47-44d0-a27f-09bfeec7896b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:28 -0400 (0:00:00.106) 0:00:41.270 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:28 -0400 (0:00:00.062) 0:00:41.333 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:21:28 -0400 (0:00:00.431) 0:00:41.765 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:21:28 -0400 (0:00:00.113) 0:00:41.878 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:28 -0400 (0:00:00.096) 0:00:41.974 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454481.0474389, "block_size": 4096, "blocks": 0, "ctime": 1723454481.0474389, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36130, "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": 1723454481.0474389, "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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:21:29 -0400 (0:00:00.403) 0:00:42.378 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:21:29 -0400 (0:00:00.059) 0:00:42.437 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:21:29 -0400 (0:00:00.100) 0:00:42.538 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:21:29 -0400 (0:00:00.061) 0:00:42.599 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454481.0854104, "block_size": 4096, "blocks": 8, "ctime": 1723454481.04541, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723454481.04541, "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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:21:29 -0400 (0:00:00.366) 0:00:42.965 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:21:29 -0400 (0:00:00.050) 0:00:43.016 ********* ok: [managed_node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017560", "end": "2024-08-12 05:21:30.331582", "rc": 0, "start": "2024-08-12 05:21:30.314022" } 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:21:30 -0400 (0:00:00.486) 0:00:43.502 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:21:30 -0400 (0:00:00.041) 0:00:43.544 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:21:30 -0400 (0:00:00.080) 0:00:43.625 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:21:30 -0400 (0:00:00.065) 0:00:43.690 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:21:30 -0400 (0:00:00.061) 0:00:43.751 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:21:30 -0400 (0:00:00.062) 0:00:43.814 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:21:30 -0400 (0:00:00.062) 0:00:43.876 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:21:30 -0400 (0:00:00.055) 0:00:43.931 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:21:30 -0400 (0:00:00.047) 0:00:43.978 ********* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:21:30 -0400 (0:00:00.044) 0:00:44.023 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:21:30 -0400 (0:00:00.044) 0:00:44.067 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:21:31 -0400 (0:00:00.080) 0:00:44.147 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.067286", "end": "2024-08-12 05:21:31.407835", "rc": 1, "start": "2024-08-12 05:21:31.340549" } STDOUT: Connection 'statebr' (21a3a88f-5b47-44d0-a27f-09bfeec7896b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 12 August 2024 05:21:31 -0400 (0:00:00.429) 0:00:44.577 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:21:31 -0400 (0:00:00.067) 0:00:44.645 ********* ok: [managed_node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:21:31 -0400 (0:00:00.045) 0:00:44.690 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:21:31 -0400 (0:00:00.157) 0:00:44.847 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:21:31 -0400 (0:00:00.112) 0:00:44.960 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:21:31 -0400 (0:00:00.108) 0:00:45.069 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003191", "end": "2024-08-12 05:21:32.462854", "rc": 0, "start": "2024-08-12 05:21:32.459663" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:21:32 -0400 (0:00:00.664) 0:00:45.733 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:21:32 -0400 (0:00:00.131) 0:00:45.864 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:21:32 -0400 (0:00:00.111) 0:00:45.976 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:21:32 -0400 (0:00:00.101) 0:00:46.078 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:33 -0400 (0:00:00.108) 0:00:46.186 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:33 -0400 (0:00:00.121) 0:00:46.308 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:33 -0400 (0:00:00.088) 0:00:46.397 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:33 -0400 (0:00:00.053) 0:00:46.450 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:33 -0400 (0:00:00.085) 0:00:46.536 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:34 -0400 (0:00:01.550) 0:00:48.087 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:36 -0400 (0:00:01.540) 0:00:49.628 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:36 -0400 (0:00:00.042) 0:00:49.670 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:36 -0400 (0:00:00.045) 0:00:49.716 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:36 -0400 (0:00:00.082) 0:00:49.798 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:36 -0400 (0:00:00.036) 0:00:49.834 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:36 -0400 (0:00:00.044) 0:00:49.879 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:36 -0400 (0:00:00.036) 0:00:49.915 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:36 -0400 (0:00:00.041) 0:00:49.956 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:36 -0400 (0:00:00.073) 0:00:50.030 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:36 -0400 (0:00:00.036) 0:00:50.067 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:36 -0400 (0:00:00.035) 0:00:50.102 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:37 -0400 (0:00:00.042) 0:00:50.145 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:37 -0400 (0:00:00.547) 0:00:50.692 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:37 -0400 (0:00:00.042) 0:00:50.734 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:37 -0400 (0:00:00.036) 0:00:50.771 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:37 -0400 (0:00:00.036) 0:00:50.808 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:38 -0400 (0:00:00.654) 0:00:51.462 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:38 -0400 (0:00:00.087) 0:00:51.550 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:38 -0400 (0:00:00.047) 0:00:51.598 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:38 -0400 (0:00:00.044) 0:00:51.642 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:38 -0400 (0:00:00.037) 0:00:51.679 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:21:38 -0400 (0:00:00.379) 0:00:52.058 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:21:39 -0400 (0:00:00.062) 0:00:52.121 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:39 -0400 (0:00:00.080) 0:00:52.201 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:39 -0400 (0:00:00.109) 0:00:52.311 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:39 -0400 (0:00:00.070) 0:00:52.381 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:39 -0400 (0:00:00.045) 0:00:52.427 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:39 -0400 (0:00:00.046) 0:00:52.474 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:40 -0400 (0:00:01.618) 0:00:54.092 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:42 -0400 (0:00:01.521) 0:00:55.613 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:42 -0400 (0:00:00.083) 0:00:55.697 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:42 -0400 (0:00:00.064) 0:00:55.762 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:42 -0400 (0:00:00.066) 0:00:55.828 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:42 -0400 (0:00:00.062) 0:00:55.890 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:42 -0400 (0:00:00.107) 0:00:55.997 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:42 -0400 (0:00:00.063) 0:00:56.061 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:43 -0400 (0:00:00.059) 0:00:56.121 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:43 -0400 (0:00:00.175) 0:00:56.297 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:43 -0400 (0:00:00.122) 0:00:56.419 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:43 -0400 (0:00:00.080) 0:00:56.500 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:43 -0400 (0:00:00.075) 0:00:56.575 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:44 -0400 (0:00:00.556) 0:00:57.132 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:44 -0400 (0:00:00.053) 0:00:57.185 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:44 -0400 (0:00:00.040) 0:00:57.226 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:44 -0400 (0:00:00.036) 0:00:57.262 ********* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:44 -0400 (0:00:00.554) 0:00:57.817 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:44 -0400 (0:00:00.061) 0:00:57.878 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:44 -0400 (0:00:00.062) 0:00:57.941 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, be7d1900-9d50-409a-8f5b-57dc6bfeec5e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:44 -0400 (0:00:00.106) 0:00:58.047 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:44 -0400 (0:00:00.040) 0:00:58.088 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:21:45 -0400 (0:00:00.368) 0:00:58.456 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 12 August 2024 05:21:45 -0400 (0:00:00.108) 0:00:58.564 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:45 -0400 (0:00:00.121) 0:00:58.686 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:45 -0400 (0:00:00.134) 0:00:58.820 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:45 -0400 (0:00:00.073) 0:00:58.894 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:45 -0400 (0:00:00.062) 0:00:58.956 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:45 -0400 (0:00:00.053) 0:00:59.010 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:47 -0400 (0:00:01.508) 0:01:00.519 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:48 -0400 (0:00:01.392) 0:01:01.911 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:48 -0400 (0:00:00.038) 0:01:01.950 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:48 -0400 (0:00:00.037) 0:01:01.988 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:48 -0400 (0:00:00.036) 0:01:02.024 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:48 -0400 (0:00:00.037) 0:01:02.062 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:49 -0400 (0:00:00.081) 0:01:02.143 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:49 -0400 (0:00:00.036) 0:01:02.180 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:49 -0400 (0:00:00.043) 0:01:02.224 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:49 -0400 (0:00:00.082) 0:01:02.307 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:49 -0400 (0:00:00.059) 0:01:02.366 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:49 -0400 (0:00:00.059) 0:01:02.425 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:49 -0400 (0:00:00.066) 0:01:02.492 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:50 -0400 (0:00:00.628) 0:01:03.120 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:50 -0400 (0:00:00.058) 0:01:03.178 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:50 -0400 (0:00:00.071) 0:01:03.250 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:50 -0400 (0:00:00.073) 0:01:03.323 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:50 -0400 (0:00:00.729) 0:01:04.053 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:51 -0400 (0:00:00.061) 0:01:04.115 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:51 -0400 (0:00:00.098) 0:01:04.213 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:51 -0400 (0:00:00.061) 0:01:04.275 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:51 -0400 (0:00:00.191) 0:01:04.467 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:21:51 -0400 (0:00:00.401) 0:01:04.868 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:21:51 -0400 (0:00:00.087) 0:01:04.955 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:51 -0400 (0:00:00.098) 0:01:05.054 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454498.2176514, "block_size": 4096, "blocks": 0, "ctime": 1723454498.2176514, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36261, "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": 1723454498.2176514, "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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:21:52 -0400 (0:00:00.449) 0:01:05.503 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:21:52 -0400 (0:00:00.082) 0:01:05.585 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:21:52 -0400 (0:00:00.120) 0:01:05.706 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:21:52 -0400 (0:00:00.053) 0:01:05.759 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:21:53 -0400 (0:00:00.394) 0:01:06.153 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:21:53 -0400 (0:00:00.061) 0:01:06.215 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018486", "end": "2024-08-12 05:21:53.553000", "rc": 1, "start": "2024-08-12 05:21:53.534514" } 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:21:53 -0400 (0:00:00.528) 0:01:06.743 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:21:53 -0400 (0:00:00.045) 0:01:06.789 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:21:53 -0400 (0:00:00.053) 0:01:06.842 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:21:53 -0400 (0:00:00.066) 0:01:06.909 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:21:53 -0400 (0:00:00.061) 0:01:06.971 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:21:53 -0400 (0:00:00.102) 0:01:07.074 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:21:54 -0400 (0:00:00.076) 0:01:07.150 ********* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:21:54 -0400 (0:00:00.056) 0:01:07.207 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:21:54 -0400 (0:00:00.060) 0:01:07.267 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:21:54 -0400 (0:00:00.115) 0:01:07.383 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.064167", "end": "2024-08-12 05:21:54.771605", "rc": 1, "start": "2024-08-12 05:21:54.707438" } STDOUT: Connection 'statebr' (be7d1900-9d50-409a-8f5b-57dc6bfeec5e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 12 August 2024 05:21:54 -0400 (0:00:00.588) 0:01:07.971 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:21:54 -0400 (0:00:00.099) 0:01:08.071 ********* ok: [managed_node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:21:55 -0400 (0:00:00.069) 0:01:08.140 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:21:55 -0400 (0:00:00.128) 0:01:08.269 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:21:55 -0400 (0:00:00.061) 0:01:08.330 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:21:55 -0400 (0:00:00.059) 0:01:08.389 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003254", "end": "2024-08-12 05:21:55.604062", "rc": 0, "start": "2024-08-12 05:21:55.600808" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:21:55 -0400 (0:00:00.389) 0:01:08.779 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:21:55 -0400 (0:00:00.048) 0:01:08.828 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:21:55 -0400 (0:00:00.045) 0:01:08.873 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:21:55 -0400 (0:00:00.077) 0:01:08.951 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:55 -0400 (0:00:00.062) 0:01:09.013 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:55 -0400 (0:00:00.076) 0:01:09.090 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:56 -0400 (0:00:00.076) 0:01:09.166 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:56 -0400 (0:00:00.095) 0:01:09.262 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:56 -0400 (0:00:00.045) 0:01:09.308 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:57 -0400 (0:00:01.540) 0:01:10.849 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:59 -0400 (0:00:01.464) 0:01:12.314 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:59 -0400 (0:00:00.039) 0:01:12.353 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:59 -0400 (0:00:00.046) 0:01:12.400 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:59 -0400 (0:00:00.045) 0:01:12.446 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:59 -0400 (0:00:00.078) 0:01:12.524 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:59 -0400 (0:00:00.065) 0:01:12.590 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:59 -0400 (0:00:00.045) 0:01:12.635 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:59 -0400 (0:00:00.046) 0:01:12.682 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:59 -0400 (0:00:00.089) 0:01:12.772 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:59 -0400 (0:00:00.041) 0:01:12.813 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:59 -0400 (0:00:00.037) 0:01:12.851 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:59 -0400 (0:00:00.053) 0:01:12.904 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:00 -0400 (0:00:00.600) 0:01:13.505 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:00 -0400 (0:00:00.056) 0:01:13.561 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:00 -0400 (0:00:00.057) 0:01:13.619 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:00 -0400 (0:00:00.042) 0:01:13.662 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:01 -0400 (0:00:00.640) 0:01:14.303 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:01 -0400 (0:00:00.049) 0:01:14.352 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:01 -0400 (0:00:00.110) 0:01:14.462 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:01 -0400 (0:00:00.059) 0:01:14.522 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:01 -0400 (0:00:00.047) 0:01:14.569 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:22:01 -0400 (0:00:00.438) 0:01:15.007 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:22:01 -0400 (0:00:00.065) 0:01:15.072 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:02 -0400 (0:00:00.087) 0:01:15.160 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:02 -0400 (0:00:00.086) 0:01:15.247 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:02 -0400 (0:00:00.057) 0:01:15.305 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:02 -0400 (0:00:00.036) 0:01:15.341 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:02 -0400 (0:00:00.037) 0:01:15.379 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:03 -0400 (0:00:01.520) 0:01:16.899 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:05 -0400 (0:00:01.398) 0:01:18.298 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:05 -0400 (0:00:00.065) 0:01:18.364 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:05 -0400 (0:00:00.047) 0:01:18.412 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:05 -0400 (0:00:00.058) 0:01:18.470 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:05 -0400 (0:00:00.068) 0:01:18.539 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:05 -0400 (0:00:00.074) 0:01:18.613 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:05 -0400 (0:00:00.113) 0:01:18.726 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:05 -0400 (0:00:00.063) 0:01:18.790 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:05 -0400 (0:00:00.104) 0:01:18.895 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:05 -0400 (0:00:00.059) 0:01:18.954 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:05 -0400 (0:00:00.061) 0:01:19.015 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:05 -0400 (0:00:00.064) 0:01:19.080 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:06 -0400 (0:00:00.572) 0:01:19.652 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:06 -0400 (0:00:00.044) 0:01:19.696 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:06 -0400 (0:00:00.036) 0:01:19.733 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:06 -0400 (0:00:00.037) 0:01:19.770 ********* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:07 -0400 (0:00:00.519) 0:01:20.289 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:07 -0400 (0:00:00.042) 0:01:20.332 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:07 -0400 (0:00:00.071) 0:01:20.404 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36c684d1-2d5e-40f3-8509-39a6fdb5d1e8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:07 -0400 (0:00:00.190) 0:01:20.594 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:07 -0400 (0:00:00.069) 0:01:20.663 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 12 August 2024 05:22:07 -0400 (0:00:00.378) 0:01:21.042 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:08 -0400 (0:00:00.068) 0:01:21.111 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:08 -0400 (0:00:00.102) 0:01:21.213 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:08 -0400 (0:00:00.069) 0:01:21.283 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:08 -0400 (0:00:00.061) 0:01:21.345 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:08 -0400 (0:00:00.058) 0:01:21.404 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:09 -0400 (0:00:01.517) 0:01:22.921 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:11 -0400 (0:00:01.549) 0:01:24.470 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:11 -0400 (0:00:00.066) 0:01:24.537 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:11 -0400 (0:00:00.086) 0:01:24.624 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:11 -0400 (0:00:00.055) 0:01:24.680 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:11 -0400 (0:00:00.047) 0:01:24.727 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:11 -0400 (0:00:00.058) 0:01:24.786 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:11 -0400 (0:00:00.063) 0:01:24.849 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:11 -0400 (0:00:00.075) 0:01:24.925 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:11 -0400 (0:00:00.086) 0:01:25.012 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:11 -0400 (0:00:00.039) 0:01:25.051 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:12 -0400 (0:00:00.075) 0:01:25.126 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:12 -0400 (0:00:00.043) 0:01:25.170 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:12 -0400 (0:00:00.505) 0:01:25.676 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:12 -0400 (0:00:00.042) 0:01:25.718 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:12 -0400 (0:00:00.037) 0:01:25.755 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:12 -0400 (0:00:00.037) 0:01:25.793 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:13 -0400 (0:00:00.640) 0:01:26.434 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:13 -0400 (0:00:00.074) 0:01:26.509 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:13 -0400 (0:00:00.062) 0:01:26.571 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:13 -0400 (0:00:00.089) 0:01:26.661 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:13 -0400 (0:00:00.079) 0:01:26.741 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:22:14 -0400 (0:00:00.408) 0:01:27.149 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:22:14 -0400 (0:00:00.106) 0:01:27.255 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:14 -0400 (0:00:00.073) 0:01:27.329 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:14 -0400 (0:00:00.076) 0:01:27.405 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:14 -0400 (0:00:00.069) 0:01:27.475 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:14 -0400 (0:00:00.044) 0:01:27.519 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:14 -0400 (0:00:00.041) 0:01:27.561 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:15 -0400 (0:00:01.500) 0:01:29.062 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:17 -0400 (0:00:01.522) 0:01:30.584 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:17 -0400 (0:00:00.067) 0:01:30.652 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:17 -0400 (0:00:00.056) 0:01:30.708 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:17 -0400 (0:00:00.055) 0:01:30.764 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:17 -0400 (0:00:00.065) 0:01:30.830 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:17 -0400 (0:00:00.053) 0:01:30.884 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:17 -0400 (0:00:00.044) 0:01:30.928 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:17 -0400 (0:00:00.052) 0:01:30.980 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:17 -0400 (0:00:00.077) 0:01:31.058 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:17 -0400 (0:00:00.036) 0:01:31.095 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:18 -0400 (0:00:00.075) 0:01:31.170 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:18 -0400 (0:00:00.042) 0:01:31.212 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:18 -0400 (0:00:00.551) 0:01:31.763 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:18 -0400 (0:00:00.048) 0:01:31.812 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:18 -0400 (0:00:00.043) 0:01:31.855 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:18 -0400 (0:00:00.048) 0:01:31.904 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:19 -0400 (0:00:00.590) 0:01:32.494 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:19 -0400 (0:00:00.064) 0:01:32.559 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:19 -0400 (0:00:00.062) 0:01:32.621 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:19 -0400 (0:00:00.060) 0:01:32.682 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:19 -0400 (0:00:00.051) 0:01:32.734 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:22:19 -0400 (0:00:00.350) 0:01:33.084 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:22:20 -0400 (0:00:00.103) 0:01:33.188 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:22:20 -0400 (0:00:00.063) 0:01:33.252 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:22:20 -0400 (0:00:00.058) 0:01:33.311 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:22:20 -0400 (0:00:00.349) 0:01:33.660 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:22:20 -0400 (0:00:00.037) 0:01:33.698 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016446", "end": "2024-08-12 05:22:20.890743", "rc": 1, "start": "2024-08-12 05:22:20.874297" } 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:22:20 -0400 (0:00:00.390) 0:01:34.089 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:22:21 -0400 (0:00:00.061) 0:01:34.150 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:22:21 -0400 (0:00:00.043) 0:01:34.194 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:22:21 -0400 (0:00:00.046) 0:01:34.240 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:22:21 -0400 (0:00:00.048) 0:01:34.288 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:22:21 -0400 (0:00:00.045) 0:01:34.334 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:22:21 -0400 (0:00:00.039) 0:01:34.374 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:22:21 -0400 (0:00:00.141) 0:01:34.516 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:22:21 -0400 (0:00:00.080) 0:01:34.596 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:22:21 -0400 (0:00:00.370) 0:01:34.966 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:22:21 -0400 (0:00:00.041) 0:01:35.008 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:22:21 -0400 (0:00:00.039) 0:01:35.048 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:22:22 -0400 (0:00:00.069) 0:01:35.117 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034364", "end": "2024-08-12 05:22:22.328880", "rc": 1, "start": "2024-08-12 05:22:22.294516" } 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 12 August 2024 05:22:22 -0400 (0:00:00.381) 0:01:35.499 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:22:22 -0400 (0:00:00.063) 0:01:35.562 ********* ok: [managed_node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:22:22 -0400 (0:00:00.039) 0:01:35.601 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:22:22 -0400 (0:00:00.077) 0:01:35.679 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:22:22 -0400 (0:00:00.101) 0:01:35.780 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:22:22 -0400 (0:00:00.058) 0:01:35.838 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002817", "end": "2024-08-12 05:22:23.021723", "rc": 0, "start": "2024-08-12 05:22:23.018906" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:22:23 -0400 (0:00:00.384) 0:01:36.222 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:22:23 -0400 (0:00:00.064) 0:01:36.287 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:22:23 -0400 (0:00:00.066) 0:01:36.354 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:22:23 -0400 (0:00:00.119) 0:01:36.473 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:23 -0400 (0:00:00.101) 0:01:36.575 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:23 -0400 (0:00:00.113) 0:01:36.688 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:23 -0400 (0:00:00.071) 0:01:36.760 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:23 -0400 (0:00:00.057) 0:01:36.818 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:23 -0400 (0:00:00.111) 0:01:36.930 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:25 -0400 (0:00:01.507) 0:01:38.437 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:26 -0400 (0:00:01.493) 0:01:39.931 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:26 -0400 (0:00:00.045) 0:01:39.976 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:26 -0400 (0:00:00.046) 0:01:40.023 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:26 -0400 (0:00:00.036) 0:01:40.060 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:26 -0400 (0:00:00.036) 0:01:40.096 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:27 -0400 (0:00:00.090) 0:01:40.187 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:27 -0400 (0:00:00.047) 0:01:40.235 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:27 -0400 (0:00:00.060) 0:01:40.296 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:27 -0400 (0:00:00.105) 0:01:40.401 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:27 -0400 (0:00:00.057) 0:01:40.458 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:27 -0400 (0:00:00.052) 0:01:40.511 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:27 -0400 (0:00:00.062) 0:01:40.573 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:28 -0400 (0:00:00.633) 0:01:41.207 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:28 -0400 (0:00:00.060) 0:01:41.267 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:28 -0400 (0:00:00.061) 0:01:41.329 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:28 -0400 (0:00:00.059) 0:01:41.388 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:28 -0400 (0:00:00.633) 0:01:42.022 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:28 -0400 (0:00:00.044) 0:01:42.066 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:29 -0400 (0:00:00.048) 0:01:42.115 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:29 -0400 (0:00:00.091) 0:01:42.207 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:29 -0400 (0:00:00.037) 0:01:42.244 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:22:29 -0400 (0:00:00.392) 0:01:42.637 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:22:29 -0400 (0:00:00.066) 0:01:42.703 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:29 -0400 (0:00:00.099) 0:01:42.802 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:29 -0400 (0:00:00.111) 0:01:42.914 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:29 -0400 (0:00:00.066) 0:01:42.981 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:29 -0400 (0:00:00.042) 0:01:43.023 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:29 -0400 (0:00:00.047) 0:01:43.070 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:31 -0400 (0:00:01.636) 0:01:44.707 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:33 -0400 (0:00:01.455) 0:01:46.163 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:33 -0400 (0:00:00.046) 0:01:46.210 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:33 -0400 (0:00:00.042) 0:01:46.253 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:33 -0400 (0:00:00.043) 0:01:46.297 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:33 -0400 (0:00:00.041) 0:01:46.338 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:33 -0400 (0:00:00.044) 0:01:46.382 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:33 -0400 (0:00:00.038) 0:01:46.421 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:33 -0400 (0:00:00.051) 0:01:46.472 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:33 -0400 (0:00:00.157) 0:01:46.629 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:33 -0400 (0:00:00.055) 0:01:46.685 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:33 -0400 (0:00:00.056) 0:01:46.742 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:33 -0400 (0:00:00.075) 0:01:46.818 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:34 -0400 (0:00:00.690) 0:01:47.509 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:34 -0400 (0:00:00.071) 0:01:47.580 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:34 -0400 (0:00:00.058) 0:01:47.638 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:34 -0400 (0:00:00.057) 0:01:47.696 ********* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:35 -0400 (0:00:00.569) 0:01:48.266 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:35 -0400 (0:00:00.042) 0:01:48.308 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:35 -0400 (0:00:00.049) 0:01:48.357 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1a0638f-4edd-4dde-a98e-9cbfff51002b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:35 -0400 (0:00:00.043) 0:01:48.401 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:35 -0400 (0:00:00.035) 0:01:48.436 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:22:35 -0400 (0:00:00.422) 0:01:48.858 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:35 -0400 (0:00:00.106) 0:01:48.965 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:35 -0400 (0:00:00.111) 0:01:49.076 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:36 -0400 (0:00:00.058) 0:01:49.135 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:36 -0400 (0:00:00.050) 0:01:49.185 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:36 -0400 (0:00:00.042) 0:01:49.228 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:37 -0400 (0:00:01.513) 0:01:50.742 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:39 -0400 (0:00:01.483) 0:01:52.225 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:39 -0400 (0:00:00.061) 0:01:52.286 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:39 -0400 (0:00:00.058) 0:01:52.344 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:39 -0400 (0:00:00.051) 0:01:52.396 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:39 -0400 (0:00:00.049) 0:01:52.446 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:39 -0400 (0:00:00.065) 0:01:52.511 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:39 -0400 (0:00:00.041) 0:01:52.553 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:39 -0400 (0:00:00.046) 0:01:52.599 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:39 -0400 (0:00:00.072) 0:01:52.671 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:39 -0400 (0:00:00.036) 0:01:52.708 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:39 -0400 (0:00:00.037) 0:01:52.745 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:39 -0400 (0:00:00.042) 0:01:52.787 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:40 -0400 (0:00:00.631) 0:01:53.418 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:40 -0400 (0:00:00.043) 0:01:53.462 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:40 -0400 (0:00:00.046) 0:01:53.509 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:40 -0400 (0:00:00.057) 0:01:53.566 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:41 -0400 (0:00:00.659) 0:01:54.225 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:41 -0400 (0:00:00.037) 0:01:54.263 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:41 -0400 (0:00:00.039) 0:01:54.303 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:41 -0400 (0:00:00.040) 0:01:54.343 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:41 -0400 (0:00:00.037) 0:01:54.380 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:22:41 -0400 (0:00:00.342) 0:01:54.722 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:22:41 -0400 (0:00:00.065) 0:01:54.788 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:41 -0400 (0:00:00.102) 0:01:54.890 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:41 -0400 (0:00:00.094) 0:01:54.985 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:41 -0400 (0:00:00.046) 0:01:55.031 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:41 -0400 (0:00:00.044) 0:01:55.076 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:42 -0400 (0:00:00.045) 0:01:55.122 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:43 -0400 (0:00:01.508) 0:01:56.630 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:44 -0400 (0:00:01.465) 0:01:58.095 ********* ok: [managed_node3] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:45 -0400 (0:00:00.051) 0:01:58.147 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:45 -0400 (0:00:00.046) 0:01:58.194 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:45 -0400 (0:00:00.041) 0:01:58.235 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:45 -0400 (0:00:00.038) 0:01:58.273 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:45 -0400 (0:00:00.045) 0:01:58.319 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:45 -0400 (0:00:00.036) 0:01:58.355 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:45 -0400 (0:00:00.043) 0:01:58.398 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:45 -0400 (0:00:00.073) 0:01:58.472 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:45 -0400 (0:00:00.036) 0:01:58.509 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:45 -0400 (0:00:00.041) 0:01:58.550 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:45 -0400 (0:00:00.064) 0:01:58.614 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:46 -0400 (0:00:00.624) 0:01:59.239 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:46 -0400 (0:00:00.049) 0:01:59.289 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:46 -0400 (0:00:00.044) 0:01:59.333 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:46 -0400 (0:00:00.047) 0:01:59.381 ********* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:46 -0400 (0:00:00.549) 0:01:59.930 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:46 -0400 (0:00:00.042) 0:01:59.973 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:46 -0400 (0:00:00.044) 0:02:00.018 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:46 -0400 (0:00:00.045) 0:02:00.064 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:47 -0400 (0:00:00.043) 0:02:00.107 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:22:47 -0400 (0:00:00.372) 0:02:00.479 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:22:47 -0400 (0:00:00.114) 0:02:00.594 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:22:47 -0400 (0:00:00.126) 0:02:00.720 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:22:47 -0400 (0:00:00.051) 0:02:00.772 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:22:48 -0400 (0:00:00.386) 0:02:01.159 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:22:48 -0400 (0:00:00.043) 0:02:01.202 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016737", "end": "2024-08-12 05:22:48.400968", "rc": 1, "start": "2024-08-12 05:22:48.384231" } 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:22:48 -0400 (0:00:00.389) 0:02:01.591 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:22:48 -0400 (0:00:00.060) 0:02:01.652 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:22:48 -0400 (0:00:00.058) 0:02:01.711 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:22:48 -0400 (0:00:00.058) 0:02:01.769 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:22:48 -0400 (0:00:00.074) 0:02:01.843 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:22:48 -0400 (0:00:00.063) 0:02:01.907 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 12 August 2024 05:22:48 -0400 (0:00:00.063) 0:02:01.971 ********* [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.846229", "end": "2024-08-12 05:22:50.016172", "rc": 0, "start": "2024-08-12 05:22:49.169943" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 12 August 2024 05:22:50 -0400 (0:00:01.215) 0:02:03.186 ********* ok: [managed_node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 12 August 2024 05:22:50 -0400 (0:00:00.038) 0:02:03.224 ********* ok: [managed_node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:22:50 -0400 (0:00:00.038) 0:02:03.263 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:22:50 -0400 (0:00:00.079) 0:02:03.342 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:22:50 -0400 (0:00:00.098) 0:02:03.441 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:22:50 -0400 (0:00:00.448) 0:02:03.889 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:22:50 -0400 (0:00:00.050) 0:02:03.940 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:22:50 -0400 (0:00:00.039) 0:02:03.979 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:22:50 -0400 (0:00:00.076) 0:02:04.055 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034230", "end": "2024-08-12 05:22:51.282183", "rc": 1, "start": "2024-08-12 05:22:51.247953" } 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 12 August 2024 05:22:51 -0400 (0:00:00.434) 0:02:04.490 ********* ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008106", "end": "2024-08-12 05:22:51.693739", "rc": 0, "start": "2024-08-12 05:22:51.685633" } 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:2f:96:ce:0b:d3 brd ff:ff:ff:ff:ff:ff inet 10.31.8.187/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2467sec preferred_lft 2467sec inet6 fe80::102f:96ff:fece:bd3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.187 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.187 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-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 12 August 2024 05:22:51 -0400 (0:00:00.386) 0:02:04.877 ********* ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.116815", "end": "2024-08-12 05:22:52.184457", "rc": 0, "start": "2024-08-12 05:22:52.067642" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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: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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 4295 0 --:--:-- --:--:-- --:--:-- 4295 % 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 16166 0 --:--:-- --:--:-- --:--:-- 16166 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Monday 12 August 2024 05:22:52 -0400 (0:00:00.459) 0:02:05.336 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-l8O/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-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-l8O/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-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-l8O/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-l8O/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-l8O/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-l8O/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-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21