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-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 21 October 2024 09:16:42 -0400 (0:00:00.021) 0:00:00.021 ******** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 21 October 2024 09:16:43 -0400 (0:00:01.000) 0:00:01.022 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 21 October 2024 09:16:43 -0400 (0:00:00.043) 0:00:01.066 ******** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 21 October 2024 09:16:43 -0400 (0:00:00.472) 0:00:01.538 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 21 October 2024 09:16:44 -0400 (0:00:00.669) 0:00:02.208 ******** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 21 October 2024 09:16:44 -0400 (0:00:00.054) 0:00:02.262 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 21 October 2024 09:16:44 -0400 (0:00:00.050) 0:00:02.313 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 21 October 2024 09:16:44 -0400 (0:00:00.120) 0:00:02.434 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 21 October 2024 09:16:45 -0400 (0:00:00.612) 0:00:03.047 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 21 October 2024 09:16:45 -0400 (0:00:00.027) 0:00:03.074 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 21 October 2024 09:16:45 -0400 (0:00:00.026) 0:00:03.101 ******** [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.220889", "end": "2024-10-21 09:16:46.020690", "rc": 0, "start": "2024-10-21 09:16:45.799801" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 21 October 2024 09:16:46 -0400 (0:00:00.593) 0:00:03.694 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 21 October 2024 09:16:46 -0400 (0:00:00.017) 0:00:03.712 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 21 October 2024 09:16:46 -0400 (0:00:00.027) 0:00:03.740 ******** ok: [managed-node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 21 October 2024 09:16:46 -0400 (0:00:00.663) 0:00:04.403 ******** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 21 October 2024 09:16:46 -0400 (0:00:00.024) 0:00:04.428 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:16:46 -0400 (0:00:00.042) 0:00:04.470 ******** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:16:46 -0400 (0:00:00.025) 0:00:04.496 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:16:46 -0400 (0:00:00.086) 0:00:04.583 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:16:47 -0400 (0:00:00.057) 0:00:04.640 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:16:47 -0400 (0:00:00.033) 0:00:04.674 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002808", "end": "2024-10-21 09:16:47.367185", "rc": 0, "start": "2024-10-21 09:16:47.364377" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:16:47 -0400 (0:00:00.365) 0:00:05.039 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:16:47 -0400 (0:00:00.018) 0:00:05.057 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:16:47 -0400 (0:00:00.016) 0:00:05.074 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 21 October 2024 09:16:47 -0400 (0:00:00.036) 0:00:05.110 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007135", "end": "2024-10-21 09:16:47.801031", "rc": 1, "start": "2024-10-21 09:16:47.793896" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:16:47 -0400 (0:00:00.371) 0:00:05.482 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:16:47 -0400 (0:00:00.044) 0:00:05.527 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:16:48 -0400 (0:00:00.405) 0:00:05.932 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:16:48 -0400 (0:00:00.034) 0:00:05.967 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:16:48 -0400 (0:00:00.048) 0:00:06.015 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:16:48 -0400 (0:00:00.172) 0:00:06.188 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:16:48 -0400 (0:00:00.058) 0:00:06.246 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:16:48 -0400 (0:00:00.033) 0:00:06.279 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:16:48 -0400 (0:00:00.044) 0:00:06.324 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:16:48 -0400 (0:00:00.023) 0:00:06.347 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:16:50 -0400 (0:00:01.684) 0:00:08.031 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:16:52 -0400 (0:00:01.782) 0:00:09.814 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:16:52 -0400 (0:00:00.037) 0:00:09.851 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:16:52 -0400 (0:00:00.036) 0:00:09.888 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:16:52 -0400 (0:00:00.036) 0:00:09.924 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:16:52 -0400 (0:00:00.035) 0:00:09.959 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:16:52 -0400 (0:00:00.049) 0:00:10.009 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:16:52 -0400 (0:00:00.041) 0:00:10.050 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:16:52 -0400 (0:00:00.061) 0:00:10.112 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:16:52 -0400 (0:00:00.078) 0:00:10.191 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:16:52 -0400 (0:00:00.047) 0:00:10.239 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:16:52 -0400 (0:00:00.047) 0:00:10.286 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:16:52 -0400 (0:00:00.074) 0:00:10.360 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:16:53 -0400 (0:00:00.926) 0:00:11.287 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:16:53 -0400 (0:00:00.042) 0:00:11.329 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:16:53 -0400 (0:00:00.062) 0:00:11.392 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:16:53 -0400 (0:00:00.035) 0:00:11.427 ******** 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, 074fcba3-ccf1-490f-901e-505b09e7498b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:16:54 -0400 (0:00:00.888) 0:00:12.316 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:16:54 -0400 (0:00:00.053) 0:00:12.369 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 074fcba3-ccf1-490f-901e-505b09e7498b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:16:54 -0400 (0:00:00.063) 0:00:12.432 ******** 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, 074fcba3-ccf1-490f-901e-505b09e7498b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 074fcba3-ccf1-490f-901e-505b09e7498b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:16:54 -0400 (0:00:00.051) 0:00:12.484 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:16:54 -0400 (0:00:00.047) 0:00:12.531 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:16:55 -0400 (0:00:00.596) 0:00:13.128 ******** 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, 074fcba3-ccf1-490f-901e-505b09e7498b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 074fcba3-ccf1-490f-901e-505b09e7498b" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:16:55 -0400 (0:00:00.049) 0:00:13.177 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 09:16:55 -0400 (0:00:00.074) 0:00:13.251 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:16:55 -0400 (0:00:00.074) 0:00:13.326 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:16:55 -0400 (0:00:00.034) 0:00:13.361 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516614.5873513, "block_size": 4096, "blocks": 8, "ctime": 1729516614.543351, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729516614.543351, "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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:16:56 -0400 (0:00:00.368) 0:00:13.729 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:16:56 -0400 (0:00:00.038) 0:00:13.768 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018434", "end": "2024-10-21 09:16:56.440238", "rc": 0, "start": "2024-10-21 09:16:56.421804" } 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:16:56 -0400 (0:00:00.371) 0:00:14.140 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:16:56 -0400 (0:00:00.068) 0:00:14.209 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:16:56 -0400 (0:00:00.062) 0:00:14.272 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:16:56 -0400 (0:00:00.067) 0:00:14.339 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:16:56 -0400 (0:00:00.060) 0:00:14.400 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 09:16:56 -0400 (0:00:00.065) 0:00:14.465 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 09:16:56 -0400 (0:00:00.071) 0:00:14.536 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 09:16:57 -0400 (0:00:00.107) 0:00:14.644 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:16:57 -0400 (0:00:00.070) 0:00:14.714 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:16:57 -0400 (0:00:00.129) 0:00:14.844 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:16:57 -0400 (0:00:00.184) 0:00:15.028 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516614.5460181, "block_size": 4096, "blocks": 0, "ctime": 1729516614.5460181, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33718, "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": 1729516614.5460181, "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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:16:57 -0400 (0:00:00.515) 0:00:15.544 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:16:58 -0400 (0:00:00.106) 0:00:15.650 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:16:58 -0400 (0:00:00.079) 0:00:15.729 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:16:58 -0400 (0:00:00.161) 0:00:15.890 ******** 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.055589", "end": "2024-10-21 09:16:58.651379", "rc": 1, "start": "2024-10-21 09:16:58.595790" } STDOUT: Connection 'statebr' (074fcba3-ccf1-490f-901e-505b09e7498b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 21 October 2024 09:16:58 -0400 (0:00:00.476) 0:00:16.367 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:16:58 -0400 (0:00:00.091) 0:00:16.459 ******** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:16:58 -0400 (0:00:00.064) 0:00:16.523 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:16:59 -0400 (0:00:00.117) 0:00:16.640 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:16:59 -0400 (0:00:00.103) 0:00:16.743 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:16:59 -0400 (0:00:00.093) 0:00:16.837 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003372", "end": "2024-10-21 09:16:59.627088", "rc": 0, "start": "2024-10-21 09:16:59.623716" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:16:59 -0400 (0:00:00.510) 0:00:17.348 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:16:59 -0400 (0:00:00.065) 0:00:17.413 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:16:59 -0400 (0:00:00.051) 0:00:17.465 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 21 October 2024 09:16:59 -0400 (0:00:00.117) 0:00:17.582 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005235", "end": "2024-10-21 09:17:00.305337", "rc": 1, "start": "2024-10-21 09:17:00.300102" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:17:00 -0400 (0:00:00.434) 0:00:18.017 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:17:00 -0400 (0:00:00.106) 0:00:18.123 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:17:00 -0400 (0:00:00.497) 0:00:18.620 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:17:01 -0400 (0:00:00.047) 0:00:18.668 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 21 October 2024 09:17:01 -0400 (0:00:00.067) 0:00:18.736 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:17:01 -0400 (0:00:00.118) 0:00:18.854 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:17:01 -0400 (0:00:00.114) 0:00:18.969 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:17:01 -0400 (0:00:00.071) 0:00:19.040 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:17:01 -0400 (0:00:00.057) 0:00:19.098 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:17:01 -0400 (0:00:00.041) 0:00:19.139 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:17:03 -0400 (0:00:01.540) 0:00:20.680 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:17:04 -0400 (0:00:01.445) 0:00:22.125 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:17:04 -0400 (0:00:00.043) 0:00:22.168 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:17:04 -0400 (0:00:00.042) 0:00:22.211 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:17:04 -0400 (0:00:00.039) 0:00:22.251 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:17:04 -0400 (0:00:00.046) 0:00:22.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:17:04 -0400 (0:00:00.045) 0:00:22.343 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:17:04 -0400 (0:00:00.035) 0:00:22.379 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:17:04 -0400 (0:00:00.040) 0:00:22.419 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:17:04 -0400 (0:00:00.071) 0:00:22.490 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:17:04 -0400 (0:00:00.037) 0:00:22.527 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:17:04 -0400 (0:00:00.037) 0:00:22.565 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:17:05 -0400 (0:00:00.061) 0:00:22.626 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:17:05 -0400 (0:00:00.663) 0:00:23.290 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:17:05 -0400 (0:00:00.109) 0:00:23.399 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:17:05 -0400 (0:00:00.057) 0:00:23.457 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:17:05 -0400 (0:00:00.069) 0:00:23.526 ******** 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, 909ee7dd-96dc-48ce-af04-ad94b2833745 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:17:06 -0400 (0:00:00.663) 0:00:24.190 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:17:06 -0400 (0:00:00.037) 0:00:24.227 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 909ee7dd-96dc-48ce-af04-ad94b2833745" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:17:06 -0400 (0:00:00.038) 0:00:24.266 ******** 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, 909ee7dd-96dc-48ce-af04-ad94b2833745\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 909ee7dd-96dc-48ce-af04-ad94b2833745" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:17:06 -0400 (0:00:00.039) 0:00:24.306 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:17:06 -0400 (0:00:00.044) 0:00:24.350 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 21 October 2024 09:17:07 -0400 (0:00:00.483) 0:00:24.834 ******** 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, 909ee7dd-96dc-48ce-af04-ad94b2833745\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 909ee7dd-96dc-48ce-af04-ad94b2833745" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:17:07 -0400 (0:00:00.098) 0:00:24.932 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:17:07 -0400 (0:00:00.124) 0:00:25.056 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:17:07 -0400 (0:00:00.084) 0:00:25.141 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:17:07 -0400 (0:00:00.362) 0:00:25.503 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 09:17:07 -0400 (0:00:00.063) 0:00:25.567 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:17:08 -0400 (0:00:00.091) 0:00:25.659 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:17:08 -0400 (0:00:00.062) 0:00:25.722 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516626.4834716, "block_size": 4096, "blocks": 8, "ctime": 1729516626.4834716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729516626.4834716, "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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:17:08 -0400 (0:00:00.377) 0:00:26.099 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:17:08 -0400 (0:00:00.063) 0:00:26.163 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018876", "end": "2024-10-21 09:17:08.876717", "rc": 0, "start": "2024-10-21 09:17:08.857841" } 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:17:08 -0400 (0:00:00.410) 0:00:26.574 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:17:09 -0400 (0:00:00.064) 0:00:26.639 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:17:09 -0400 (0:00:00.065) 0:00:26.705 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:17:09 -0400 (0:00:00.067) 0:00:26.772 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:17:09 -0400 (0:00:00.056) 0:00:26.828 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 09:17:09 -0400 (0:00:00.059) 0:00:26.888 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 09:17:09 -0400 (0:00:00.073) 0:00:26.962 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 09:17:09 -0400 (0:00:00.117) 0:00:27.080 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:17:09 -0400 (0:00:00.061) 0:00:27.141 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:17:09 -0400 (0:00:00.051) 0:00:27.193 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:17:09 -0400 (0:00:00.056) 0:00:27.250 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:17:09 -0400 (0:00:00.095) 0:00:27.346 ******** 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.035471", "end": "2024-10-21 09:17:10.062144", "rc": 1, "start": "2024-10-21 09:17:10.026673" } STDOUT: Connection 'statebr' (909ee7dd-96dc-48ce-af04-ad94b2833745) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 21 October 2024 09:17:10 -0400 (0:00:00.405) 0:00:27.751 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:17:10 -0400 (0:00:00.060) 0:00:27.812 ******** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:17:10 -0400 (0:00:00.035) 0:00:27.847 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:17:10 -0400 (0:00:00.069) 0:00:27.917 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:17:10 -0400 (0:00:00.055) 0:00:27.972 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:17:10 -0400 (0:00:00.053) 0:00:28.026 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002470", "end": "2024-10-21 09:17:10.704819", "rc": 0, "start": "2024-10-21 09:17:10.702349" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:17:10 -0400 (0:00:00.390) 0:00:28.417 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:17:10 -0400 (0:00:00.055) 0:00:28.472 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:17:10 -0400 (0:00:00.055) 0:00:28.527 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:17:11 -0400 (0:00:00.100) 0:00:28.628 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:17:11 -0400 (0:00:00.099) 0:00:28.727 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:17:11 -0400 (0:00:00.132) 0:00:28.860 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:17:11 -0400 (0:00:00.099) 0:00:28.960 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:17:11 -0400 (0:00:00.113) 0:00:29.073 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:17:11 -0400 (0:00:00.061) 0:00:29.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 : Check which packages are installed] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:17:13 -0400 (0:00:01.602) 0:00:30.737 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:17:14 -0400 (0:00:01.638) 0:00:32.375 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:17:14 -0400 (0:00:00.038) 0:00:32.414 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:17:14 -0400 (0:00:00.036) 0:00:32.451 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:17:14 -0400 (0:00:00.041) 0:00:32.492 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:17:14 -0400 (0:00:00.039) 0:00:32.532 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:17:14 -0400 (0:00:00.067) 0:00:32.599 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:17:15 -0400 (0:00:00.056) 0:00:32.656 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:17:15 -0400 (0:00:00.117) 0:00:32.773 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:17:15 -0400 (0:00:00.122) 0:00:32.896 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:17:15 -0400 (0:00:00.042) 0:00:32.939 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:17:15 -0400 (0:00:00.045) 0:00:32.984 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:17:15 -0400 (0:00:00.050) 0:00:33.035 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:17:15 -0400 (0:00:00.539) 0:00:33.574 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:17:16 -0400 (0:00:00.063) 0:00:33.637 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:17:16 -0400 (0:00:00.052) 0:00:33.690 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:17:16 -0400 (0:00:00.045) 0:00:33.735 ******** 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, d33beaff-cd80-4c10-a0a3-1db209450ed4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:17:16 -0400 (0:00:00.683) 0:00:34.418 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:17:16 -0400 (0:00:00.034) 0:00:34.453 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d33beaff-cd80-4c10-a0a3-1db209450ed4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:17:16 -0400 (0:00:00.035) 0:00:34.489 ******** 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, d33beaff-cd80-4c10-a0a3-1db209450ed4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d33beaff-cd80-4c10-a0a3-1db209450ed4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:17:16 -0400 (0:00:00.037) 0:00:34.526 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:17:16 -0400 (0:00:00.063) 0:00:34.589 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:17:17 -0400 (0:00:00.353) 0:00:34.942 ******** 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, d33beaff-cd80-4c10-a0a3-1db209450ed4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d33beaff-cd80-4c10-a0a3-1db209450ed4" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:17:17 -0400 (0:00:00.039) 0:00:34.982 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 09:17:17 -0400 (0:00:00.065) 0:00:35.048 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:17:17 -0400 (0:00:00.111) 0:00:35.159 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:17:17 -0400 (0:00:00.109) 0:00:35.269 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:17:17 -0400 (0:00:00.065) 0:00:35.335 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:17:17 -0400 (0:00:00.055) 0:00:35.391 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:17:17 -0400 (0:00:00.059) 0:00:35.451 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:17:19 -0400 (0:00:01.599) 0:00:37.051 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:17:20 -0400 (0:00:01.512) 0:00:38.564 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:17:21 -0400 (0:00:00.072) 0:00:38.636 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:17:21 -0400 (0:00:00.062) 0:00:38.699 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:17:21 -0400 (0:00:00.059) 0:00:38.758 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:17:21 -0400 (0:00:00.062) 0:00:38.821 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:17:21 -0400 (0:00:00.082) 0:00:38.903 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:17:21 -0400 (0:00:00.060) 0:00:38.963 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:17:21 -0400 (0:00:00.069) 0:00:39.033 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:17:21 -0400 (0:00:00.213) 0:00:39.246 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:17:21 -0400 (0:00:00.040) 0:00:39.286 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:17:21 -0400 (0:00:00.041) 0:00:39.328 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:17:21 -0400 (0:00:00.051) 0:00:39.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:17:22 -0400 (0:00:00.552) 0:00:39.932 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:17:22 -0400 (0:00:00.051) 0:00:39.984 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:17:22 -0400 (0:00:00.037) 0:00:40.021 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:17:22 -0400 (0:00:00.037) 0:00:40.059 ******** 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, d33beaff-cd80-4c10-a0a3-1db209450ed4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:17:23 -0400 (0:00:00.714) 0:00:40.773 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:17:23 -0400 (0:00:00.071) 0:00:40.844 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d33beaff-cd80-4c10-a0a3-1db209450ed4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:17:23 -0400 (0:00:00.075) 0:00:40.920 ******** 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, d33beaff-cd80-4c10-a0a3-1db209450ed4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d33beaff-cd80-4c10-a0a3-1db209450ed4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:17:23 -0400 (0:00:00.063) 0:00:40.983 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:17:23 -0400 (0:00:00.066) 0:00:41.049 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:17:23 -0400 (0:00:00.418) 0:00:41.468 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:17:24 -0400 (0:00:00.199) 0:00:41.668 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:17:24 -0400 (0:00:00.134) 0:00:41.802 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516636.6692595, "block_size": 4096, "blocks": 0, "ctime": 1729516636.6692595, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33849, "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": 1729516636.6692595, "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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:17:24 -0400 (0:00:00.454) 0:00:42.257 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 09:17:24 -0400 (0:00:00.044) 0:00:42.301 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:17:24 -0400 (0:00:00.105) 0:00:42.406 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:17:24 -0400 (0:00:00.060) 0:00:42.467 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516636.715575, "block_size": 4096, "blocks": 8, "ctime": 1729516636.6675744, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729516636.6675744, "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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:17:25 -0400 (0:00:00.512) 0:00:42.979 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:17:25 -0400 (0:00:00.082) 0:00:43.062 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018610", "end": "2024-10-21 09:17:25.815009", "rc": 0, "start": "2024-10-21 09:17:25.796399" } 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:17:25 -0400 (0:00:00.441) 0:00:43.503 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:17:25 -0400 (0:00:00.038) 0:00:43.541 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:17:25 -0400 (0:00:00.072) 0:00:43.614 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:17:26 -0400 (0:00:00.037) 0:00:43.652 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:17:26 -0400 (0:00:00.041) 0:00:43.694 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 09:17:26 -0400 (0:00:00.043) 0:00:43.737 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 09:17:26 -0400 (0:00:00.052) 0:00:43.789 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 09:17:26 -0400 (0:00:00.064) 0:00:43.854 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:17:26 -0400 (0:00:00.057) 0:00:43.911 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:17:26 -0400 (0:00:00.053) 0:00:43.965 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:17:26 -0400 (0:00:00.043) 0:00:44.009 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:17:26 -0400 (0:00:00.071) 0:00:44.080 ******** 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.057384", "end": "2024-10-21 09:17:26.800084", "rc": 1, "start": "2024-10-21 09:17:26.742700" } STDOUT: Connection 'statebr' (d33beaff-cd80-4c10-a0a3-1db209450ed4) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 21 October 2024 09:17:26 -0400 (0:00:00.432) 0:00:44.512 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:17:26 -0400 (0:00:00.104) 0:00:44.617 ******** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:17:27 -0400 (0:00:00.062) 0:00:44.679 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:17:27 -0400 (0:00:00.128) 0:00:44.808 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:17:27 -0400 (0:00:00.198) 0:00:45.007 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:17:27 -0400 (0:00:00.102) 0:00:45.109 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003200", "end": "2024-10-21 09:17:27.843449", "rc": 0, "start": "2024-10-21 09:17:27.840249" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:17:27 -0400 (0:00:00.425) 0:00:45.534 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:17:27 -0400 (0:00:00.038) 0:00:45.572 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:17:27 -0400 (0:00:00.038) 0:00:45.611 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:17:28 -0400 (0:00:00.070) 0:00:45.681 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:17:28 -0400 (0:00:00.062) 0:00:45.743 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:17:28 -0400 (0:00:00.069) 0:00:45.813 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:17:28 -0400 (0:00:00.051) 0:00:45.865 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:17:28 -0400 (0:00:00.046) 0:00:45.911 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:17:28 -0400 (0:00:00.102) 0:00:46.014 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:17:29 -0400 (0:00:01.546) 0:00:47.561 ******** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:17:31 -0400 (0:00:01.453) 0:00:49.014 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:17:31 -0400 (0:00:00.070) 0:00:49.084 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:17:31 -0400 (0:00:00.134) 0:00:49.219 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:17:31 -0400 (0:00:00.066) 0:00:49.286 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:17:31 -0400 (0:00:00.098) 0:00:49.385 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:17:31 -0400 (0:00:00.081) 0:00:49.466 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:17:31 -0400 (0:00:00.056) 0:00:49.523 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:17:31 -0400 (0:00:00.053) 0:00:49.576 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:17:32 -0400 (0:00:00.083) 0:00:49.659 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:17:32 -0400 (0:00:00.040) 0:00:49.700 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:17:32 -0400 (0:00:00.051) 0:00:49.752 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:17:32 -0400 (0:00:00.063) 0:00:49.815 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:17:32 -0400 (0:00:00.722) 0:00:50.537 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:17:32 -0400 (0:00:00.052) 0:00:50.590 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:17:33 -0400 (0:00:00.040) 0:00:50.631 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:17:33 -0400 (0:00:00.042) 0:00:50.674 ******** 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, 52fc51cc-e55d-48a2-99f1-0aaba2922480 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:17:33 -0400 (0:00:00.564) 0:00:51.238 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:17:33 -0400 (0:00:00.102) 0:00:51.340 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52fc51cc-e55d-48a2-99f1-0aaba2922480" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:17:33 -0400 (0:00:00.051) 0:00:51.392 ******** 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, 52fc51cc-e55d-48a2-99f1-0aaba2922480\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52fc51cc-e55d-48a2-99f1-0aaba2922480" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:17:33 -0400 (0:00:00.045) 0:00:51.438 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:17:33 -0400 (0:00:00.041) 0:00:51.480 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:17:34 -0400 (0:00:00.372) 0:00:51.852 ******** 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, 52fc51cc-e55d-48a2-99f1-0aaba2922480\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52fc51cc-e55d-48a2-99f1-0aaba2922480" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 09:17:34 -0400 (0:00:00.056) 0:00:51.908 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:17:34 -0400 (0:00:00.078) 0:00:51.987 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:17:34 -0400 (0:00:00.081) 0:00:52.068 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:17:34 -0400 (0:00:00.043) 0:00:52.111 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:17:34 -0400 (0:00:00.035) 0:00:52.147 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:17:34 -0400 (0:00:00.035) 0:00:52.182 ******** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:17:36 -0400 (0:00:01.537) 0:00:53.719 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:17:37 -0400 (0:00:01.473) 0:00:55.193 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:17:37 -0400 (0:00:00.047) 0:00:55.241 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:17:37 -0400 (0:00:00.041) 0:00:55.282 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:17:37 -0400 (0:00:00.033) 0:00:55.316 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:17:37 -0400 (0:00:00.035) 0:00:55.352 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:17:37 -0400 (0:00:00.070) 0:00:55.422 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:17:37 -0400 (0:00:00.034) 0:00:55.457 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:17:37 -0400 (0:00:00.040) 0:00:55.498 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:17:37 -0400 (0:00:00.070) 0:00:55.568 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:17:37 -0400 (0:00:00.033) 0:00:55.601 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:17:38 -0400 (0:00:00.035) 0:00:55.637 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:17:38 -0400 (0:00:00.041) 0:00:55.678 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:17:38 -0400 (0:00:00.570) 0:00:56.249 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:17:38 -0400 (0:00:00.043) 0:00:56.293 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:17:38 -0400 (0:00:00.043) 0:00:56.336 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:17:38 -0400 (0:00:00.047) 0:00:56.384 ******** 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, 52fc51cc-e55d-48a2-99f1-0aaba2922480 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:17:39 -0400 (0:00:00.577) 0:00:56.961 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:17:39 -0400 (0:00:00.033) 0:00:56.995 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52fc51cc-e55d-48a2-99f1-0aaba2922480 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:17:39 -0400 (0:00:00.034) 0:00:57.029 ******** 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, 52fc51cc-e55d-48a2-99f1-0aaba2922480 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52fc51cc-e55d-48a2-99f1-0aaba2922480 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:17:39 -0400 (0:00:00.065) 0:00:57.094 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:17:39 -0400 (0:00:00.035) 0:00:57.130 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:17:39 -0400 (0:00:00.338) 0:00:57.468 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 21 October 2024 09:17:39 -0400 (0:00:00.061) 0:00:57.530 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:17:39 -0400 (0:00:00.070) 0:00:57.601 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:17:40 -0400 (0:00:00.067) 0:00:57.668 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:17:40 -0400 (0:00:00.045) 0:00:57.714 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:17:40 -0400 (0:00:00.044) 0:00:57.758 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:17:40 -0400 (0:00:00.036) 0:00:57.795 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:17:41 -0400 (0:00:01.502) 0:00:59.298 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:17:43 -0400 (0:00:01.396) 0:01:00.694 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:17:43 -0400 (0:00:00.035) 0:01:00.729 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:17:43 -0400 (0:00:00.033) 0:01:00.763 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:17:43 -0400 (0:00:00.032) 0:01:00.795 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:17:43 -0400 (0:00:00.045) 0:01:00.841 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:17:43 -0400 (0:00:00.079) 0:01:00.921 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:17:43 -0400 (0:00:00.050) 0:01:00.971 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:17:43 -0400 (0:00:00.049) 0:01:01.021 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:17:43 -0400 (0:00:00.079) 0:01:01.100 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:17:43 -0400 (0:00:00.040) 0:01:01.140 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:17:43 -0400 (0:00:00.034) 0:01:01.175 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:17:43 -0400 (0:00:00.039) 0:01:01.214 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:17:44 -0400 (0:00:00.566) 0:01:01.781 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:17:44 -0400 (0:00:00.065) 0:01:01.847 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:17:44 -0400 (0:00:00.065) 0:01:01.912 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:17:44 -0400 (0:00:00.047) 0:01:01.960 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:17:45 -0400 (0:00:00.723) 0:01:02.683 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:17:45 -0400 (0:00:00.050) 0:01:02.734 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:17:45 -0400 (0:00:00.096) 0:01:02.831 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:17:45 -0400 (0:00:00.193) 0:01:03.024 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:17:45 -0400 (0:00:00.110) 0:01:03.134 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:17:46 -0400 (0:00:00.551) 0:01:03.686 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:17:46 -0400 (0:00:00.067) 0:01:03.753 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:17:46 -0400 (0:00:00.054) 0:01:03.808 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516653.4903197, "block_size": 4096, "blocks": 0, "ctime": 1729516653.4903197, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33980, "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": 1729516653.4903197, "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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:17:46 -0400 (0:00:00.376) 0:01:04.185 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 09:17:46 -0400 (0:00:00.064) 0:01:04.250 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:17:46 -0400 (0:00:00.086) 0:01:04.336 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:17:46 -0400 (0:00:00.042) 0:01:04.379 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:17:47 -0400 (0:00:00.368) 0:01:04.747 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:17:47 -0400 (0:00:00.059) 0:01:04.807 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017932", "end": "2024-10-21 09:17:47.530838", "rc": 1, "start": "2024-10-21 09:17:47.512906" } 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:17:47 -0400 (0:00:00.419) 0:01:05.226 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:17:47 -0400 (0:00:00.043) 0:01:05.270 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:17:47 -0400 (0:00:00.071) 0:01:05.342 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:17:47 -0400 (0:00:00.073) 0:01:05.416 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:17:47 -0400 (0:00:00.040) 0:01:05.457 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 09:17:47 -0400 (0:00:00.039) 0:01:05.496 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:17:47 -0400 (0:00:00.045) 0:01:05.541 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:17:47 -0400 (0:00:00.036) 0:01:05.577 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:17:47 -0400 (0:00:00.037) 0:01:05.615 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:17:48 -0400 (0:00:00.063) 0:01:05.679 ******** 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.068033", "end": "2024-10-21 09:17:48.414242", "rc": 1, "start": "2024-10-21 09:17:48.346209" } STDOUT: Connection 'statebr' (52fc51cc-e55d-48a2-99f1-0aaba2922480) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 21 October 2024 09:17:48 -0400 (0:00:00.460) 0:01:06.140 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:17:48 -0400 (0:00:00.098) 0:01:06.238 ******** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:17:48 -0400 (0:00:00.096) 0:01:06.335 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:17:48 -0400 (0:00:00.087) 0:01:06.423 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:17:48 -0400 (0:00:00.069) 0:01:06.493 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:17:48 -0400 (0:00:00.076) 0:01:06.569 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003415", "end": "2024-10-21 09:17:49.314716", "rc": 0, "start": "2024-10-21 09:17:49.311301" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:17:49 -0400 (0:00:00.509) 0:01:07.079 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:17:49 -0400 (0:00:00.100) 0:01:07.179 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:17:49 -0400 (0:00:00.060) 0:01:07.240 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:17:49 -0400 (0:00:00.121) 0:01:07.361 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:17:49 -0400 (0:00:00.094) 0:01:07.456 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:17:49 -0400 (0:00:00.121) 0:01:07.578 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:17:50 -0400 (0:00:00.068) 0:01:07.647 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:17:50 -0400 (0:00:00.089) 0:01:07.736 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:17:50 -0400 (0:00:00.038) 0:01:07.775 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:17:51 -0400 (0:00:01.617) 0:01:09.392 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:17:53 -0400 (0:00:01.509) 0:01:10.902 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:17:53 -0400 (0:00:00.052) 0:01:10.954 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:17:53 -0400 (0:00:00.092) 0:01:11.047 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:17:53 -0400 (0:00:00.056) 0:01:11.103 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:17:53 -0400 (0:00:00.060) 0:01:11.164 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:17:53 -0400 (0:00:00.084) 0:01:11.249 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:17:53 -0400 (0:00:00.080) 0:01:11.329 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:17:53 -0400 (0:00:00.065) 0:01:11.395 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:17:53 -0400 (0:00:00.111) 0:01:11.506 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:17:53 -0400 (0:00:00.058) 0:01:11.565 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:17:53 -0400 (0:00:00.053) 0:01:11.618 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:17:54 -0400 (0:00:00.083) 0:01:11.702 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:17:54 -0400 (0:00:00.659) 0:01:12.361 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:17:54 -0400 (0:00:00.087) 0:01:12.449 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:17:54 -0400 (0:00:00.051) 0:01:12.500 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:17:54 -0400 (0:00:00.076) 0:01:12.577 ******** 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, 012158a5-11fa-4fc8-ad26-527e87fe834f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:17:55 -0400 (0:00:00.830) 0:01:13.408 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:17:55 -0400 (0:00:00.059) 0:01:13.468 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 012158a5-11fa-4fc8-ad26-527e87fe834f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:17:55 -0400 (0:00:00.060) 0:01:13.528 ******** 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, 012158a5-11fa-4fc8-ad26-527e87fe834f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 012158a5-11fa-4fc8-ad26-527e87fe834f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:17:55 -0400 (0:00:00.059) 0:01:13.587 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:17:56 -0400 (0:00:00.054) 0:01:13.642 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:17:56 -0400 (0:00:00.441) 0:01:14.084 ******** 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, 012158a5-11fa-4fc8-ad26-527e87fe834f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 012158a5-11fa-4fc8-ad26-527e87fe834f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 09:17:56 -0400 (0:00:00.039) 0:01:14.123 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:17:56 -0400 (0:00:00.057) 0:01:14.181 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:17:56 -0400 (0:00:00.067) 0:01:14.248 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:17:56 -0400 (0:00:00.042) 0:01:14.291 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:17:56 -0400 (0:00:00.034) 0:01:14.325 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:17:56 -0400 (0:00:00.033) 0:01:14.359 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:17:58 -0400 (0:00:01.510) 0:01:15.869 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:17:59 -0400 (0:00:01.459) 0:01:17.329 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:17:59 -0400 (0:00:00.059) 0:01:17.388 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:17:59 -0400 (0:00:00.058) 0:01:17.447 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:17:59 -0400 (0:00:00.060) 0:01:17.508 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:17:59 -0400 (0:00:00.096) 0:01:17.605 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:18:00 -0400 (0:00:00.065) 0:01:17.670 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:18:00 -0400 (0:00:00.053) 0:01:17.723 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:18:00 -0400 (0:00:00.069) 0:01:17.793 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:18:00 -0400 (0:00:00.093) 0:01:17.887 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:18:00 -0400 (0:00:00.041) 0:01:17.928 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:18:00 -0400 (0:00:00.037) 0:01:17.966 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:18:00 -0400 (0:00:00.049) 0:01:18.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:18:00 -0400 (0:00:00.589) 0:01:18.606 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:18:01 -0400 (0:00:00.068) 0:01:18.674 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:18:01 -0400 (0:00:00.044) 0:01:18.719 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:18:01 -0400 (0:00:00.049) 0:01:18.768 ******** 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, 012158a5-11fa-4fc8-ad26-527e87fe834f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:18:01 -0400 (0:00:00.572) 0:01:19.341 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:18:01 -0400 (0:00:00.085) 0:01:19.426 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 012158a5-11fa-4fc8-ad26-527e87fe834f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:18:01 -0400 (0:00:00.058) 0:01:19.485 ******** 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, 012158a5-11fa-4fc8-ad26-527e87fe834f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 012158a5-11fa-4fc8-ad26-527e87fe834f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:18:01 -0400 (0:00:00.057) 0:01:19.542 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:18:01 -0400 (0:00:00.061) 0:01:19.604 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 21 October 2024 09:18:02 -0400 (0:00:00.408) 0:01:20.012 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:18:02 -0400 (0:00:00.092) 0:01:20.105 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:18:02 -0400 (0:00:00.134) 0:01:20.240 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:18:02 -0400 (0:00:00.068) 0:01:20.309 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:18:02 -0400 (0:00:00.077) 0:01:20.387 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:18:02 -0400 (0:00:00.099) 0:01:20.486 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:18:04 -0400 (0:00:01.833) 0:01:22.320 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:18:06 -0400 (0:00:01.546) 0:01:23.867 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:18:06 -0400 (0:00:00.047) 0:01:23.915 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:18:06 -0400 (0:00:00.051) 0:01:23.967 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:18:06 -0400 (0:00:00.059) 0:01:24.026 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:18:06 -0400 (0:00:00.056) 0:01:24.083 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:18:06 -0400 (0:00:00.064) 0:01:24.147 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:18:06 -0400 (0:00:00.054) 0:01:24.202 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:18:06 -0400 (0:00:00.105) 0:01:24.307 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:18:06 -0400 (0:00:00.122) 0:01:24.429 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:18:06 -0400 (0:00:00.082) 0:01:24.511 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:18:06 -0400 (0:00:00.077) 0:01:24.589 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:18:07 -0400 (0:00:00.072) 0:01:24.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:18:07 -0400 (0:00:00.578) 0:01:25.240 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:18:07 -0400 (0:00:00.041) 0:01:25.282 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:18:07 -0400 (0:00:00.034) 0:01:25.316 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:18:07 -0400 (0:00:00.034) 0:01:25.350 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:18:08 -0400 (0:00:00.589) 0:01:25.940 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:18:08 -0400 (0:00:00.054) 0:01:25.994 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:18:08 -0400 (0:00:00.043) 0:01:26.038 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:18:08 -0400 (0:00:00.075) 0:01:26.114 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:18:08 -0400 (0:00:00.121) 0:01:26.235 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:18:08 -0400 (0:00:00.387) 0:01:26.622 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 09:18:09 -0400 (0:00:00.062) 0:01:26.685 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:18:09 -0400 (0:00:00.085) 0:01:26.771 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:18:09 -0400 (0:00:00.106) 0:01:26.878 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:18:09 -0400 (0:00:00.075) 0:01:26.953 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:18:09 -0400 (0:00:00.055) 0:01:27.008 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:18:09 -0400 (0:00:00.051) 0:01:27.059 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:18:10 -0400 (0:00:01.514) 0:01:28.574 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:18:12 -0400 (0:00:01.410) 0:01:29.985 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:18:12 -0400 (0:00:00.040) 0:01:30.025 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:18:12 -0400 (0:00:00.034) 0:01:30.059 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:18:12 -0400 (0:00:00.035) 0:01:30.095 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:18:12 -0400 (0:00:00.034) 0:01:30.129 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:18:12 -0400 (0:00:00.040) 0:01:30.169 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:18:12 -0400 (0:00:00.061) 0:01:30.231 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:18:12 -0400 (0:00:00.039) 0:01:30.270 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:18:12 -0400 (0:00:00.070) 0:01:30.341 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:18:12 -0400 (0:00:00.035) 0:01:30.376 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:18:12 -0400 (0:00:00.032) 0:01:30.409 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:18:12 -0400 (0:00:00.038) 0:01:30.447 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:18:13 -0400 (0:00:00.529) 0:01:30.976 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:18:13 -0400 (0:00:00.068) 0:01:31.045 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:18:13 -0400 (0:00:00.053) 0:01:31.098 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:18:13 -0400 (0:00:00.055) 0:01:31.154 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:18:14 -0400 (0:00:00.638) 0:01:31.793 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:18:14 -0400 (0:00:00.033) 0:01:31.826 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:18:14 -0400 (0:00:00.035) 0:01:31.862 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:18:14 -0400 (0:00:00.067) 0:01:31.930 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:18:14 -0400 (0:00:00.037) 0:01:31.968 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:18:14 -0400 (0:00:00.394) 0:01:32.362 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 09:18:14 -0400 (0:00:00.106) 0:01:32.469 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:18:14 -0400 (0:00:00.108) 0:01:32.577 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:18:14 -0400 (0:00:00.042) 0:01:32.620 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:18:15 -0400 (0:00:00.356) 0:01:32.976 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:18:15 -0400 (0:00:00.053) 0:01:33.030 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016833", "end": "2024-10-21 09:18:15.759465", "rc": 1, "start": "2024-10-21 09:18:15.742632" } 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:18:15 -0400 (0:00:00.418) 0:01:33.449 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:18:15 -0400 (0:00:00.037) 0:01:33.486 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:18:15 -0400 (0:00:00.037) 0:01:33.524 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:18:15 -0400 (0:00:00.043) 0:01:33.567 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:18:16 -0400 (0:00:00.151) 0:01:33.719 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 09:18:16 -0400 (0:00:00.056) 0:01:33.775 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:18:16 -0400 (0:00:00.058) 0:01:33.834 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:18:16 -0400 (0:00:00.106) 0:01:33.940 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:18:16 -0400 (0:00:00.089) 0:01:34.030 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:18:16 -0400 (0:00:00.368) 0:01:34.398 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:18:16 -0400 (0:00:00.039) 0:01:34.437 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:18:16 -0400 (0:00:00.036) 0:01:34.474 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:18:16 -0400 (0:00:00.064) 0:01:34.538 ******** 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.034452", "end": "2024-10-21 09:18:17.229185", "rc": 1, "start": "2024-10-21 09:18:17.194733" } 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 21 October 2024 09:18:17 -0400 (0:00:00.380) 0:01:34.919 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:18:17 -0400 (0:00:00.110) 0:01:35.029 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:18:17 -0400 (0:00:00.036) 0:01:35.066 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:18:17 -0400 (0:00:00.072) 0:01:35.139 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:18:17 -0400 (0:00:00.067) 0:01:35.206 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:18:17 -0400 (0:00:00.054) 0:01:35.261 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002781", "end": "2024-10-21 09:18:17.919911", "rc": 0, "start": "2024-10-21 09:18:17.917130" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:18:17 -0400 (0:00:00.348) 0:01:35.610 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:18:18 -0400 (0:00:00.042) 0:01:35.652 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:18:18 -0400 (0:00:00.056) 0:01:35.709 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:18:18 -0400 (0:00:00.084) 0:01:35.794 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:18:18 -0400 (0:00:00.084) 0:01:35.878 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:18:18 -0400 (0:00:00.154) 0:01:36.032 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:18:18 -0400 (0:00:00.067) 0:01:36.100 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:18:18 -0400 (0:00:00.042) 0:01:36.142 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:18:18 -0400 (0:00:00.037) 0:01:36.180 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:18:20 -0400 (0:00:01.662) 0:01:37.842 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:18:21 -0400 (0:00:01.624) 0:01:39.467 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:18:21 -0400 (0:00:00.067) 0:01:39.534 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:18:22 -0400 (0:00:00.118) 0:01:39.653 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:18:22 -0400 (0:00:00.061) 0:01:39.715 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:18:22 -0400 (0:00:00.078) 0:01:39.793 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:18:22 -0400 (0:00:00.068) 0:01:39.862 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:18:22 -0400 (0:00:00.072) 0:01:39.934 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:18:22 -0400 (0:00:00.059) 0:01:39.994 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:18:22 -0400 (0:00:00.084) 0:01:40.078 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:18:22 -0400 (0:00:00.041) 0:01:40.120 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:18:22 -0400 (0:00:00.038) 0:01:40.159 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:18:22 -0400 (0:00:00.038) 0:01:40.197 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:18:23 -0400 (0:00:00.588) 0:01:40.786 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:18:23 -0400 (0:00:00.060) 0:01:40.846 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:18:23 -0400 (0:00:00.052) 0:01:40.899 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:18:23 -0400 (0:00:00.121) 0:01:41.021 ******** 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, 36b1d0cc-4615-4974-a626-f34e7284c4d0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:18:24 -0400 (0:00:00.700) 0:01:41.721 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:18:24 -0400 (0:00:00.052) 0:01:41.774 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36b1d0cc-4615-4974-a626-f34e7284c4d0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:18:24 -0400 (0:00:00.072) 0:01:41.847 ******** 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, 36b1d0cc-4615-4974-a626-f34e7284c4d0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36b1d0cc-4615-4974-a626-f34e7284c4d0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:18:24 -0400 (0:00:00.102) 0:01:41.950 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:18:24 -0400 (0:00:00.076) 0:01:42.027 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:18:24 -0400 (0:00:00.446) 0:01:42.473 ******** 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, 36b1d0cc-4615-4974-a626-f34e7284c4d0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36b1d0cc-4615-4974-a626-f34e7284c4d0" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 09:18:24 -0400 (0:00:00.036) 0:01:42.510 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:18:24 -0400 (0:00:00.056) 0:01:42.567 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:18:25 -0400 (0:00:00.082) 0:01:42.649 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:18:25 -0400 (0:00:00.055) 0:01:42.705 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:18:25 -0400 (0:00:00.037) 0:01:42.743 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:18:25 -0400 (0:00:00.078) 0:01:42.821 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:18:26 -0400 (0:00:01.496) 0:01:44.318 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:18:28 -0400 (0:00:01.498) 0:01:45.817 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:18:28 -0400 (0:00:00.064) 0:01:45.881 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:18:28 -0400 (0:00:00.090) 0:01:45.972 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:18:28 -0400 (0:00:00.063) 0:01:46.035 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:18:28 -0400 (0:00:00.055) 0:01:46.091 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:18:28 -0400 (0:00:00.059) 0:01:46.151 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:18:28 -0400 (0:00:00.062) 0:01:46.213 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:18:28 -0400 (0:00:00.064) 0:01:46.277 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:18:28 -0400 (0:00:00.107) 0:01:46.385 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:18:28 -0400 (0:00:00.057) 0:01:46.442 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:18:28 -0400 (0:00:00.037) 0:01:46.480 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:18:28 -0400 (0:00:00.038) 0:01:46.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:18:29 -0400 (0:00:00.513) 0:01:47.032 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:18:29 -0400 (0:00:00.049) 0:01:47.082 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:18:29 -0400 (0:00:00.058) 0:01:47.140 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:18:29 -0400 (0:00:00.042) 0:01:47.183 ******** 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, 36b1d0cc-4615-4974-a626-f34e7284c4d0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:18:30 -0400 (0:00:00.640) 0:01:47.824 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:18:30 -0400 (0:00:00.055) 0:01:47.880 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36b1d0cc-4615-4974-a626-f34e7284c4d0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:18:30 -0400 (0:00:00.058) 0:01:47.938 ******** 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, 36b1d0cc-4615-4974-a626-f34e7284c4d0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36b1d0cc-4615-4974-a626-f34e7284c4d0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:18:30 -0400 (0:00:00.061) 0:01:47.999 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:18:30 -0400 (0:00:00.061) 0:01:48.060 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 09:18:30 -0400 (0:00:00.463) 0:01:48.524 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:18:31 -0400 (0:00:00.158) 0:01:48.682 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:18:31 -0400 (0:00:00.086) 0:01:48.768 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:18:31 -0400 (0:00:00.078) 0:01:48.847 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:18:31 -0400 (0:00:00.066) 0:01:48.913 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:18:31 -0400 (0:00:00.053) 0:01:48.967 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:18:32 -0400 (0:00:01.518) 0:01:50.485 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:18:34 -0400 (0:00:01.458) 0:01:51.944 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:18:34 -0400 (0:00:00.034) 0:01:51.978 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:18:34 -0400 (0:00:00.033) 0:01:52.011 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:18:34 -0400 (0:00:00.032) 0:01:52.044 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:18:34 -0400 (0:00:00.032) 0:01:52.077 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:18:34 -0400 (0:00:00.066) 0:01:52.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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:18:34 -0400 (0:00:00.033) 0:01:52.176 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:18:34 -0400 (0:00:00.042) 0:01:52.219 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:18:34 -0400 (0:00:00.076) 0:01:52.295 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:18:34 -0400 (0:00:00.053) 0:01:52.348 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:18:34 -0400 (0:00:00.051) 0:01:52.400 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:18:34 -0400 (0:00:00.049) 0:01:52.450 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:18:35 -0400 (0:00:00.539) 0:01:52.989 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:18:35 -0400 (0:00:00.046) 0:01:53.036 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:18:35 -0400 (0:00:00.039) 0:01:53.075 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:18:35 -0400 (0:00:00.035) 0:01:53.111 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:18:36 -0400 (0:00:00.600) 0:01:53.711 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:18:36 -0400 (0:00:00.033) 0:01:53.745 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:18:36 -0400 (0:00:00.068) 0:01:53.813 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:18:36 -0400 (0:00:00.037) 0:01:53.851 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:18:36 -0400 (0:00:00.035) 0:01:53.887 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:18:36 -0400 (0:00:00.341) 0:01:54.229 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 09:18:36 -0400 (0:00:00.063) 0:01:54.293 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:18:36 -0400 (0:00:00.058) 0:01:54.351 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:18:36 -0400 (0:00:00.068) 0:01:54.419 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:18:36 -0400 (0:00:00.042) 0:01:54.462 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:18:36 -0400 (0:00:00.035) 0:01:54.498 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:18:36 -0400 (0:00:00.034) 0:01:54.533 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:18:38 -0400 (0:00:01.507) 0:01:56.040 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:18:39 -0400 (0:00:01.414) 0:01:57.455 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:18:39 -0400 (0:00:00.039) 0:01:57.495 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:18:39 -0400 (0:00:00.033) 0:01:57.529 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:18:39 -0400 (0:00:00.044) 0:01:57.573 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:18:39 -0400 (0:00:00.041) 0:01:57.614 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:18:40 -0400 (0:00:00.119) 0:01:57.734 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:18:40 -0400 (0:00:00.039) 0:01:57.774 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:18:40 -0400 (0:00:00.039) 0:01:57.813 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:18:40 -0400 (0:00:00.067) 0:01:57.880 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:18:40 -0400 (0:00:00.034) 0:01:57.914 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:18:40 -0400 (0:00:00.040) 0:01:57.954 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:18:40 -0400 (0:00:00.046) 0:01:58.001 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:18:40 -0400 (0:00:00.517) 0:01:58.518 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:18:40 -0400 (0:00:00.041) 0:01:58.560 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:18:40 -0400 (0:00:00.033) 0:01:58.593 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:18:41 -0400 (0:00:00.034) 0:01:58.628 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:18:41 -0400 (0:00:00.568) 0:01:59.197 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:18:41 -0400 (0:00:00.034) 0:01:59.231 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:18:41 -0400 (0:00:00.070) 0:01:59.301 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:18:41 -0400 (0:00:00.055) 0:01:59.357 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:18:41 -0400 (0:00:00.050) 0:01:59.408 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:18:42 -0400 (0:00:00.366) 0:01:59.774 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 09:18:42 -0400 (0:00:00.074) 0:01:59.848 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:18:42 -0400 (0:00:00.060) 0:01:59.909 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:18:42 -0400 (0:00:00.034) 0:01:59.943 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:18:42 -0400 (0:00:00.343) 0:02:00.286 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:18:42 -0400 (0:00:00.032) 0:02:00.319 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016800", "end": "2024-10-21 09:18:42.989429", "rc": 1, "start": "2024-10-21 09:18:42.972629" } 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:18:43 -0400 (0:00:00.358) 0:02:00.677 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:18:43 -0400 (0:00:00.034) 0:02:00.712 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:18:43 -0400 (0:00:00.066) 0:02:00.778 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:18:43 -0400 (0:00:00.049) 0:02:00.828 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:18:43 -0400 (0:00:00.034) 0:02:00.862 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 09:18:43 -0400 (0:00:00.035) 0:02:00.898 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 21 October 2024 09:18:43 -0400 (0:00:00.037) 0:02:00.935 ******** [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.876029", "end": "2024-10-21 09:18:44.468814", "rc": 0, "start": "2024-10-21 09:18:43.592785" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 21 October 2024 09:18:44 -0400 (0:00:01.224) 0:02:02.160 ******** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 21 October 2024 09:18:44 -0400 (0:00:00.034) 0:02:02.195 ******** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:18:44 -0400 (0:00:00.035) 0:02:02.230 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:18:44 -0400 (0:00:00.067) 0:02:02.298 ******** included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:18:44 -0400 (0:00:00.086) 0:02:02.384 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:18:45 -0400 (0:00:00.353) 0:02:02.737 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:18:45 -0400 (0:00:00.056) 0:02:02.794 ******** 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:18:45 -0400 (0:00:00.056) 0:02:02.851 ******** included: /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:18:45 -0400 (0:00:00.140) 0:02:02.991 ******** 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.034196", "end": "2024-10-21 09:18:45.720867", "rc": 1, "start": "2024-10-21 09:18:45.686671" } 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 21 October 2024 09:18:45 -0400 (0:00:00.439) 0:02:03.431 ******** 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.008499", "end": "2024-10-21 09:18:46.127461", "rc": 0, "start": "2024-10-21 09:18:46.118962" } 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 0a:ff:df:d4:f3:b9 brd ff:ff:ff:ff:ff:ff inet 10.31.13.227/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2338sec preferred_lft 2338sec inet6 fe80::8ff:dfff:fed4:f3b9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.227 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.227 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-tSc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 21 October 2024 09:18:46 -0400 (0:00:00.415) 0:02:03.846 ******** 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.151174", "end": "2024-10-21 09:18:46.669208", "rc": 0, "start": "2024-10-21 09:18:46.518034" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 6224 0 --:--:-- --:--:-- --:--:-- 6224 % 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 3637 0 --:--:-- --:--:-- --:--:-- 3637 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 21 October 2024 09:18:46 -0400 (0:00:00.498) 0:02:04.345 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-tSc/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-tSc/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-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-tSc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21