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-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.029) 0:00:00.029 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 14 December 2024 07:54:14 -0500 (0:00:00.930) 0:00:00.960 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 14 December 2024 07:54:14 -0500 (0:00:00.035) 0:00:00.995 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 14 December 2024 07:54:14 -0500 (0:00:00.480) 0:00:01.476 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 14 December 2024 07:54:15 -0500 (0:00:00.643) 0:00:02.120 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 14 December 2024 07:54:15 -0500 (0:00:00.054) 0:00:02.175 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 14 December 2024 07:54:15 -0500 (0:00:00.053) 0:00:02.228 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 14 December 2024 07:54:15 -0500 (0:00:00.090) 0:00:02.319 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 14 December 2024 07:54:15 -0500 (0:00:00.455) 0:00:02.774 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.018) 0:00:02.793 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.017) 0:00:02.810 ***** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.228334", "end": "2024-12-14 07:54:16.550019", "rc": 0, "start": "2024-12-14 07:54:16.321685" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.575) 0:00:03.386 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.030) 0:00:03.416 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.033) 0:00:03.450 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.731) 0:00:04.182 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.025) 0:00:04.208 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.045) 0:00:04.253 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.046) 0:00:04.300 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.073) 0:00:04.373 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.024) 0:00:04.398 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.030) 0:00:04.428 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2024-12-14 07:54:17.974530", "rc": 0, "start": "2024-12-14 07:54:17.971106" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.371) 0:00:04.800 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.026) 0:00:04.826 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.033) 0:00:04.859 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.050) 0:00:04.910 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007145", "end": "2024-12-14 07:54:18.433158", "rc": 1, "start": "2024-12-14 07:54:18.426013" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.349) 0:00:05.259 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.028) 0:00:05.288 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.335) 0:00:05.624 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.023) 0:00:05.647 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.028) 0:00:05.676 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.096) 0:00:05.773 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.035) 0:00:05.808 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.019) 0:00:05.827 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.021) 0:00:05.849 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.018) 0:00:05.867 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:20 -0500 (0:00:01.802) 0:00:07.670 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:22 -0500 (0:00:01.766) 0:00:09.436 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.043) 0:00:09.479 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.035) 0:00:09.515 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.036) 0:00:09.552 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.039) 0:00:09.592 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.106) 0:00:09.698 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.046) 0:00:09.745 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.062) 0:00:09.808 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.143) 0:00:09.952 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.172) 0:00:10.124 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.075) 0:00:10.200 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.099) 0:00:10.299 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:24 -0500 (0:00:01.046) 0:00:11.346 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.149) 0:00:11.495 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.083) 0:00:11.579 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.057) 0:00:11.636 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b411e8d-d2a3-431c-8f57-aaa30dea9521 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:25 -0500 (0:00:00.837) 0:00:12.474 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:25 -0500 (0:00:00.053) 0:00:12.528 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b411e8d-d2a3-431c-8f57-aaa30dea9521" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:25 -0500 (0:00:00.064) 0:00:12.592 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b411e8d-d2a3-431c-8f57-aaa30dea9521\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b411e8d-d2a3-431c-8f57-aaa30dea9521" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:25 -0500 (0:00:00.045) 0:00:12.638 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:25 -0500 (0:00:00.043) 0:00:12.682 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:54:26 -0500 (0:00:00.584) 0:00:13.267 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b411e8d-d2a3-431c-8f57-aaa30dea9521\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b411e8d-d2a3-431c-8f57-aaa30dea9521" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:54:26 -0500 (0:00:00.037) 0:00:13.304 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:54:26 -0500 (0:00:00.089) 0:00:13.394 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:54:26 -0500 (0:00:00.089) 0:00:13.484 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:54:26 -0500 (0:00:00.046) 0:00:13.530 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180865.6013334, "block_size": 4096, "blocks": 8, "ctime": 1734180865.5603335, "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": 1734180865.5603335, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.413) 0:00:13.944 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.056) 0:00:14.001 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019384", "end": "2024-12-14 07:54:27.532616", "rc": 0, "start": "2024-12-14 07:54:27.513232" } 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.395) 0:00:14.396 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.045) 0:00:14.442 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.047) 0:00:14.489 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.048) 0:00:14.538 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.046) 0:00:14.584 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.039) 0:00:14.623 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.069) 0:00:14.693 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:54:27 -0500 (0:00:00.046) 0:00:14.739 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.049) 0:00:14.788 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.191) 0:00:14.979 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.146) 0:00:15.126 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180865.5623102, "block_size": 4096, "blocks": 0, "ctime": 1734180865.5623102, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35590, "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": 1734180865.5623102, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.585) 0:00:15.711 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.074) 0:00:15.785 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.088) 0:00:15.874 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.115) 0:00:15.989 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057223", "end": "2024-12-14 07:54:29.576599", "rc": 1, "start": "2024-12-14 07:54:29.519376" } STDOUT: Connection 'statebr' (9b411e8d-d2a3-431c-8f57-aaa30dea9521) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.427) 0:00:16.417 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.114) 0:00:16.531 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.059) 0:00:16.590 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.091) 0:00:16.681 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.074) 0:00:16.756 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.060) 0:00:16.817 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002884", "end": "2024-12-14 07:54:30.330552", "rc": 0, "start": "2024-12-14 07:54:30.327668" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.364) 0:00:17.181 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.057) 0:00:17.238 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.060) 0:00:17.299 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.092) 0:00:17.391 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005573", "end": "2024-12-14 07:54:30.945929", "rc": 1, "start": "2024-12-14 07:54:30.940356" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.398) 0:00:17.790 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.096) 0:00:17.886 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.375) 0:00:18.262 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.063) 0:00:18.326 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.100) 0:00:18.426 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.097) 0:00:18.524 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.082) 0:00:18.606 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.048) 0:00:18.655 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.046) 0:00:18.702 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.053) 0:00:18.756 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:33 -0500 (0:00:01.631) 0:00:20.387 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:35 -0500 (0:00:01.485) 0:00:21.872 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.061) 0:00:21.934 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.085) 0:00:22.020 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.127) 0:00:22.147 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.139) 0:00:22.286 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.077) 0:00:22.364 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.103) 0:00:22.468 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.064) 0:00:22.532 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.149) 0:00:22.682 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.066) 0:00:22.748 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.089) 0:00:22.838 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.068) 0:00:22.907 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.561) 0:00:23.468 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.049) 0:00:23.518 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.042) 0:00:23.560 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.039) 0:00:23.600 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3baf9e93-5a76-400f-a092-4452cbd9c2b5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.547) 0:00:24.148 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.034) 0:00:24.183 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3baf9e93-5a76-400f-a092-4452cbd9c2b5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.038) 0:00:24.221 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3baf9e93-5a76-400f-a092-4452cbd9c2b5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3baf9e93-5a76-400f-a092-4452cbd9c2b5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.069) 0:00:24.290 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.036) 0:00:24.327 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.401) 0:00:24.728 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3baf9e93-5a76-400f-a092-4452cbd9c2b5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3baf9e93-5a76-400f-a092-4452cbd9c2b5" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.062) 0:00:24.791 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.083) 0:00:24.874 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.071) 0:00:24.945 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.372) 0:00:25.318 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.058) 0:00:25.376 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.105) 0:00:25.481 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.069) 0:00:25.550 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180877.292284, "block_size": 4096, "blocks": 8, "ctime": 1734180877.292284, "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": 1734180877.292284, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.395) 0:00:25.946 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.088) 0:00:26.034 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017671", "end": "2024-12-14 07:54:39.608520", "rc": 0, "start": "2024-12-14 07:54:39.590849" } 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.442) 0:00:26.477 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.073) 0:00:26.550 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.068) 0:00:26.619 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.067) 0:00:26.687 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.064) 0:00:26.751 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.047) 0:00:26.799 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.043) 0:00:26.842 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.053) 0:00:26.896 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.042) 0:00:26.939 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.034) 0:00:26.973 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.036) 0:00:27.010 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.067) 0:00:27.078 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037665", "end": "2024-12-14 07:54:40.627818", "rc": 1, "start": "2024-12-14 07:54:40.590153" } STDOUT: Connection 'statebr' (3baf9e93-5a76-400f-a092-4452cbd9c2b5) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.464) 0:00:27.542 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.113) 0:00:27.655 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.045) 0:00:27.701 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.082) 0:00:27.784 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.060) 0:00:27.845 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.058) 0:00:27.903 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002888", "end": "2024-12-14 07:54:41.425458", "rc": 0, "start": "2024-12-14 07:54:41.422570" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.381) 0:00:28.284 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.043) 0:00:28.328 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.041) 0:00:28.370 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.074) 0:00:28.444 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.098) 0:00:28.543 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.068) 0:00:28.612 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.065) 0:00:28.677 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.054) 0:00:28.732 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.056) 0:00:28.789 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:43 -0500 (0:00:01.660) 0:00:30.449 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:45 -0500 (0:00:01.517) 0:00:31.967 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.052) 0:00:32.020 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.039) 0:00:32.060 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.043) 0:00:32.103 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.042) 0:00:32.146 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.049) 0:00:32.196 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.036) 0:00:32.232 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.039) 0:00:32.272 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.078) 0:00:32.350 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.049) 0:00:32.400 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.057) 0:00:32.458 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.071) 0:00:32.529 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:46 -0500 (0:00:00.664) 0:00:33.194 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:46 -0500 (0:00:00.060) 0:00:33.255 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:46 -0500 (0:00:00.107) 0:00:33.363 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:46 -0500 (0:00:00.059) 0:00:33.422 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.654) 0:00:34.077 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.058) 0:00:34.136 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.069) 0:00:34.205 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.088) 0:00:34.293 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.068) 0:00:34.362 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.476) 0:00:34.839 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.067) 0:00:34.906 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.107) 0:00:35.013 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.110) 0:00:35.124 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.191) 0:00:35.316 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.078) 0:00:35.394 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.065) 0:00:35.460 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.073) 0:00:35.533 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:50 -0500 (0:00:01.621) 0:00:37.155 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:51 -0500 (0:00:01.504) 0:00:38.660 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:51 -0500 (0:00:00.037) 0:00:38.698 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:51 -0500 (0:00:00.038) 0:00:38.736 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.052) 0:00:38.789 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.060) 0:00:38.850 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.064) 0:00:38.914 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.039) 0:00:38.953 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.052) 0:00:39.006 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.113) 0:00:39.119 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.057) 0:00:39.177 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.055) 0:00:39.233 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:52 -0500 (0:00:00.065) 0:00:39.299 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.651) 0:00:39.951 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.107) 0:00:40.059 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.062) 0:00:40.121 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.110) 0:00:40.232 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.620) 0:00:40.852 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.046) 0:00:40.899 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.060) 0:00:40.960 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30d005a1-93a0-4172-b6c1-6b33dc4cd328 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.064) 0:00:41.025 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.057) 0:00:41.082 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.376) 0:00:41.458 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.109) 0:00:41.567 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.086) 0:00:41.654 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180887.1609251, "block_size": 4096, "blocks": 0, "ctime": 1734180887.1609251, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35721, "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": 1734180887.1609251, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.501) 0:00:42.156 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.093) 0:00:42.249 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.161) 0:00:42.411 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.071) 0:00:42.483 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180887.1602423, "block_size": 4096, "blocks": 8, "ctime": 1734180887.1592424, "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": 1734180887.1592424, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.457) 0:00:42.940 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.095) 0:00:43.036 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019618", "end": "2024-12-14 07:54:56.636238", "rc": 0, "start": "2024-12-14 07:54:56.616620" } 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.445) 0:00:43.481 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.052) 0:00:43.534 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.042) 0:00:43.576 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.037) 0:00:43.614 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.043) 0:00:43.657 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.052) 0:00:43.709 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.058) 0:00:43.767 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.043) 0:00:43.811 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.043) 0:00:43.855 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.041) 0:00:43.897 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.078) 0:00:43.975 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.066) 0:00:44.042 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.066449", "end": "2024-12-14 07:54:57.623898", "rc": 1, "start": "2024-12-14 07:54:57.557449" } STDOUT: Connection 'statebr' (30d005a1-93a0-4172-b6c1-6b33dc4cd328) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.449) 0:00:44.492 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.095) 0:00:44.587 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.064) 0:00:44.651 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.093) 0:00:44.744 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.064) 0:00:44.809 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.069) 0:00:44.879 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003044", "end": "2024-12-14 07:54:58.400095", "rc": 0, "start": "2024-12-14 07:54:58.397051" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.368) 0:00:45.248 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.037) 0:00:45.285 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.070) 0:00:45.355 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.069) 0:00:45.425 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.060) 0:00:45.485 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.068) 0:00:45.553 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.043) 0:00:45.596 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.034) 0:00:45.631 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.035) 0:00:45.667 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:00 -0500 (0:00:01.680) 0:00:47.347 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:02 -0500 (0:00:01.503) 0:00:48.851 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.038) 0:00:48.889 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.040) 0:00:48.930 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.049) 0:00:48.979 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.077) 0:00:49.057 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.100) 0:00:49.157 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.081) 0:00:49.238 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.067) 0:00:49.306 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.139) 0:00:49.445 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.100) 0:00:49.545 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.069) 0:00:49.614 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.062) 0:00:49.677 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.564) 0:00:50.242 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.050) 0:00:50.292 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.043) 0:00:50.335 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.039) 0:00:50.375 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.574) 0:00:50.949 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.059) 0:00:51.009 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.066) 0:00:51.075 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.059) 0:00:51.135 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.057) 0:00:51.192 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.441) 0:00:51.633 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.043) 0:00:51.677 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.059) 0:00:51.736 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:05 -0500 (0:00:00.077) 0:00:51.814 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:05 -0500 (0:00:00.076) 0:00:51.891 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:05 -0500 (0:00:00.044) 0:00:51.936 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:05 -0500 (0:00:00.042) 0:00:51.978 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:06 -0500 (0:00:01.616) 0:00:53.595 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:08 -0500 (0:00:01.516) 0:00:55.112 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.047) 0:00:55.159 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.039) 0:00:55.199 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.034) 0:00:55.233 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.033) 0:00:55.267 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.043) 0:00:55.310 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.034) 0:00:55.345 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.040) 0:00:55.385 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.080) 0:00:55.466 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.059) 0:00:55.526 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.099) 0:00:55.625 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.068) 0:00:55.694 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.578) 0:00:56.273 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.065) 0:00:56.339 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.055) 0:00:56.394 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.055) 0:00:56.450 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.577) 0:00:57.028 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.036) 0:00:57.064 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.037) 0:00:57.102 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c34f39dd-8976-42f7-90ce-d77cbb752032 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.037) 0:00:57.139 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.034) 0:00:57.174 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.350) 0:00:57.524 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.097) 0:00:57.621 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.071) 0:00:57.693 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.085) 0:00:57.779 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.066) 0:00:57.846 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.050) 0:00:57.897 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.052) 0:00:57.949 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:12 -0500 (0:00:01.586) 0:00:59.535 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:14 -0500 (0:00:01.538) 0:01:01.074 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.055) 0:01:01.129 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.070) 0:01:01.200 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.056) 0:01:01.256 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.049) 0:01:01.305 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.063) 0:01:01.369 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.045) 0:01:01.415 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.047) 0:01:01.462 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.076) 0:01:01.539 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.050) 0:01:01.589 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.058) 0:01:01.648 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.069) 0:01:01.717 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.749) 0:01:02.466 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.128) 0:01:02.595 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.094) 0:01:02.690 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.071) 0:01:02.762 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.708) 0:01:03.471 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.060) 0:01:03.531 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.062) 0:01:03.594 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.067) 0:01:03.662 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.072) 0:01:03.735 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.362) 0:01:04.097 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.109) 0:01:04.207 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.113) 0:01:04.320 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180904.0513914, "block_size": 4096, "blocks": 0, "ctime": 1734180904.0513914, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35852, "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": 1734180904.0513914, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.400) 0:01:04.721 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.086) 0:01:04.807 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.123) 0:01:04.931 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.059) 0:01:04.990 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.398) 0:01:05.389 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.040) 0:01:05.429 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018361", "end": "2024-12-14 07:55:19.021412", "rc": 1, "start": "2024-12-14 07:55:19.003051" } 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.458) 0:01:05.887 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.064) 0:01:05.952 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.045) 0:01:05.998 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.042) 0:01:06.040 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.048) 0:01:06.089 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.117) 0:01:06.207 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.065) 0:01:06.272 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.054) 0:01:06.327 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.077) 0:01:06.405 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.140) 0:01:06.546 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.067267", "end": "2024-12-14 07:55:20.437113", "rc": 1, "start": "2024-12-14 07:55:20.369846" } STDOUT: Connection 'statebr' (c34f39dd-8976-42f7-90ce-d77cbb752032) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.794) 0:01:07.340 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.091) 0:01:07.432 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.049) 0:01:07.481 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.095) 0:01:07.577 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.060) 0:01:07.637 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.056) 0:01:07.693 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002954", "end": "2024-12-14 07:55:21.204370", "rc": 0, "start": "2024-12-14 07:55:21.201416" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.421) 0:01:08.115 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.058) 0:01:08.173 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.045) 0:01:08.218 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.089) 0:01:08.308 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.062) 0:01:08.370 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.071) 0:01:08.442 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.044) 0:01:08.486 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.037) 0:01:08.523 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.039) 0:01:08.563 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:23 -0500 (0:00:01.575) 0:01:10.139 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:24 -0500 (0:00:01.434) 0:01:11.573 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.038) 0:01:11.611 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.040) 0:01:11.652 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.042) 0:01:11.694 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.054) 0:01:11.748 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.064) 0:01:11.813 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.041) 0:01:11.855 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.048) 0:01:11.903 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.147) 0:01:12.051 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.037) 0:01:12.089 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.036) 0:01:12.126 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.051) 0:01:12.177 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.578) 0:01:12.756 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.067) 0:01:12.823 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.061) 0:01:12.885 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.055) 0:01:12.941 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867b893a-3997-4fe6-b890-517ef621872c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.617) 0:01:13.558 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.054) 0:01:13.613 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867b893a-3997-4fe6-b890-517ef621872c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.058) 0:01:13.672 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867b893a-3997-4fe6-b890-517ef621872c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867b893a-3997-4fe6-b890-517ef621872c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.063) 0:01:13.735 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.054) 0:01:13.790 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.376) 0:01:14.166 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867b893a-3997-4fe6-b890-517ef621872c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867b893a-3997-4fe6-b890-517ef621872c" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.039) 0:01:14.205 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.062) 0:01:14.267 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.073) 0:01:14.341 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.052) 0:01:14.393 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.037) 0:01:14.431 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.036) 0:01:14.468 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:29 -0500 (0:00:01.592) 0:01:16.060 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:30 -0500 (0:00:01.515) 0:01:17.575 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.070) 0:01:17.645 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.055) 0:01:17.701 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.059) 0:01:17.760 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.044) 0:01:17.805 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.055) 0:01:17.861 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.048) 0:01:17.910 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.053) 0:01:17.964 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.109) 0:01:18.074 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.089) 0:01:18.164 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.041) 0:01:18.205 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.052) 0:01:18.257 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.677) 0:01:18.935 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.086) 0:01:19.021 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.060) 0:01:19.081 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.051) 0:01:19.132 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 867b893a-3997-4fe6-b890-517ef621872c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.588) 0:01:19.721 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.060) 0:01:19.782 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 867b893a-3997-4fe6-b890-517ef621872c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.056) 0:01:19.838 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 867b893a-3997-4fe6-b890-517ef621872c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 867b893a-3997-4fe6-b890-517ef621872c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.058) 0:01:19.897 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.041) 0:01:19.939 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.369) 0:01:20.308 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.137) 0:01:20.446 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.128) 0:01:20.574 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.079) 0:01:20.653 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.055) 0:01:20.709 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.048) 0:01:20.758 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:35 -0500 (0:00:01.624) 0:01:22.382 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:37 -0500 (0:00:01.619) 0:01:24.002 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.066) 0:01:24.068 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.057) 0:01:24.126 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.056) 0:01:24.183 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.057) 0:01:24.240 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.069) 0:01:24.310 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.059) 0:01:24.370 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.066) 0:01:24.436 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.112) 0:01:24.548 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.058) 0:01:24.606 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.057) 0:01:24.664 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.070) 0:01:24.735 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.621) 0:01:25.357 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.051) 0:01:25.409 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.055) 0:01:25.465 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.044) 0:01:25.509 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.562) 0:01:26.072 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.045) 0:01:26.117 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.038) 0:01:26.156 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.037) 0:01:26.193 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.034) 0:01:26.228 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.370) 0:01:26.599 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.078) 0:01:26.677 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.129) 0:01:26.806 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.072) 0:01:26.879 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.044) 0:01:26.924 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.045) 0:01:26.969 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.056) 0:01:27.025 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:41 -0500 (0:00:01.595) 0:01:28.621 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:43 -0500 (0:00:01.455) 0:01:30.077 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.037) 0:01:30.114 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.036) 0:01:30.151 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.033) 0:01:30.184 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.035) 0:01:30.219 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.044) 0:01:30.263 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.034) 0:01:30.298 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.042) 0:01:30.341 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.088) 0:01:30.429 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.053) 0:01:30.483 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.114) 0:01:30.597 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.068) 0:01:30.666 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.623) 0:01:31.289 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.047) 0:01:31.336 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.045) 0:01:31.382 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.043) 0:01:31.425 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:45 -0500 (0:00:00.627) 0:01:32.053 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:45 -0500 (0:00:00.056) 0:01:32.109 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:45 -0500 (0:00:00.058) 0:01:32.168 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:45 -0500 (0:00:00.057) 0:01:32.226 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:45 -0500 (0:00:00.062) 0:01:32.289 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:55:45 -0500 (0:00:00.406) 0:01:32.695 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.162) 0:01:32.858 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.139) 0:01:32.997 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.076) 0:01:33.074 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.396) 0:01:33.470 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.056) 0:01:33.527 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017144", "end": "2024-12-14 07:55:47.280752", "rc": 1, "start": "2024-12-14 07:55:47.263608" } 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.631) 0:01:34.158 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.045) 0:01:34.203 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.051) 0:01:34.254 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.057) 0:01:34.311 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.064) 0:01:34.376 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.047) 0:01:34.424 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.045) 0:01:34.470 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.118) 0:01:34.588 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.065) 0:01:34.653 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.578) 0:01:35.232 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.067) 0:01:35.299 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.045) 0:01:35.345 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.078) 0:01:35.424 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036521", "end": "2024-12-14 07:55:48.994682", "rc": 1, "start": "2024-12-14 07:55:48.958161" } 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.417) 0:01:35.841 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.070) 0:01:35.912 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.044) 0:01:35.957 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.077) 0:01:36.035 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.056) 0:01:36.091 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.106) 0:01:36.198 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002971", "end": "2024-12-14 07:55:49.740502", "rc": 0, "start": "2024-12-14 07:55:49.737531" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.409) 0:01:36.607 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.068) 0:01:36.676 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.075) 0:01:36.752 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.210) 0:01:36.963 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.147) 0:01:37.110 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.138) 0:01:37.249 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.081) 0:01:37.330 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.056) 0:01:37.387 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.065) 0:01:37.453 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:52 -0500 (0:00:01.610) 0:01:39.064 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:53 -0500 (0:00:01.426) 0:01:40.490 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:53 -0500 (0:00:00.038) 0:01:40.529 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:53 -0500 (0:00:00.034) 0:01:40.563 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:53 -0500 (0:00:00.037) 0:01:40.600 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:53 -0500 (0:00:00.063) 0:01:40.664 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:53 -0500 (0:00:00.043) 0:01:40.708 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:53 -0500 (0:00:00.043) 0:01:40.751 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.060) 0:01:40.812 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.092) 0:01:40.904 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.042) 0:01:40.947 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.048) 0:01:40.996 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.046) 0:01:41.042 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.565) 0:01:41.608 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.066) 0:01:41.674 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.044) 0:01:41.719 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:54 -0500 (0:00:00.034) 0:01:41.753 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:55 -0500 (0:00:00.613) 0:01:42.366 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:55 -0500 (0:00:00.070) 0:01:42.437 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:55 -0500 (0:00:00.058) 0:01:42.496 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:55 -0500 (0:00:00.070) 0:01:42.566 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:55 -0500 (0:00:00.091) 0:01:42.658 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.448) 0:01:43.106 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.070) 0:01:43.177 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.086) 0:01:43.264 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.146) 0:01:43.410 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.146) 0:01:43.557 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.052) 0:01:43.610 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.038) 0:01:43.648 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:58 -0500 (0:00:01.644) 0:01:45.293 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:59 -0500 (0:00:01.468) 0:01:46.762 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.037) 0:01:46.800 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.036) 0:01:46.837 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.035) 0:01:46.872 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.034) 0:01:46.907 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.071) 0:01:46.979 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.045) 0:01:47.025 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.059) 0:01:47.085 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.098) 0:01:47.183 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.042) 0:01:47.226 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.040) 0:01:47.267 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.051) 0:01:47.319 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.587) 0:01:47.906 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.040) 0:01:47.947 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.037) 0:01:47.984 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.041) 0:01:48.026 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.550) 0:01:48.576 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.049) 0:01:48.626 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.040) 0:01:48.667 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39ae753c-2a0e-431b-b9f5-b722c2058461 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.077) 0:01:48.744 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:56:02 -0500 (0:00:00.037) 0:01:48.782 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:56:02 -0500 (0:00:00.355) 0:01:49.137 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:56:02 -0500 (0:00:00.060) 0:01:49.198 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:56:02 -0500 (0:00:00.069) 0:01:49.268 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:56:02 -0500 (0:00:00.044) 0:01:49.313 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:56:02 -0500 (0:00:00.035) 0:01:49.348 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:56:02 -0500 (0:00:00.035) 0:01:49.383 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:56:04 -0500 (0:00:01.546) 0:01:50.930 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:56:05 -0500 (0:00:01.437) 0:01:52.368 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.044) 0:01:52.412 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.043) 0:01:52.456 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.042) 0:01:52.498 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.035) 0:01:52.534 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.044) 0:01:52.579 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.070) 0:01:52.650 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.059) 0:01:52.709 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.097) 0:01:52.807 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.044) 0:01:52.852 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.047) 0:01:52.899 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.051) 0:01:52.951 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.543) 0:01:53.494 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.041) 0:01:53.535 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.035) 0:01:53.571 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.036) 0:01:53.608 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.646) 0:01:54.254 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.034) 0:01:54.289 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.039) 0:01:54.328 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.038) 0:01:54.366 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.066) 0:01:54.433 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:56:08 -0500 (0:00:00.347) 0:01:54.781 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:56:08 -0500 (0:00:00.074) 0:01:54.855 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:56:08 -0500 (0:00:00.063) 0:01:54.918 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:56:08 -0500 (0:00:00.071) 0:01:54.989 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:56:08 -0500 (0:00:00.045) 0:01:55.035 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:56:08 -0500 (0:00:00.038) 0:01:55.073 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:56:08 -0500 (0:00:00.037) 0:01:55.110 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:56:09 -0500 (0:00:01.551) 0:01:56.661 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:56:11 -0500 (0:00:01.425) 0:01:58.087 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.041) 0:01:58.128 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.034) 0:01:58.162 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.035) 0:01:58.198 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.037) 0:01:58.235 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.049) 0:01:58.284 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.098) 0:01:58.383 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.049) 0:01:58.432 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.081) 0:01:58.514 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.037) 0:01:58.552 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.037) 0:01:58.589 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:56:11 -0500 (0:00:00.040) 0:01:58.629 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:56:12 -0500 (0:00:00.537) 0:01:59.167 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:56:12 -0500 (0:00:00.048) 0:01:59.216 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:56:12 -0500 (0:00:00.035) 0:01:59.251 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:56:12 -0500 (0:00:00.033) 0:01:59.285 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.539) 0:01:59.824 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.057) 0:01:59.881 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.061) 0:01:59.943 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.091) 0:02:00.034 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.055) 0:02:00.089 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.382) 0:02:00.472 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.117) 0:02:00.589 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.108) 0:02:00.697 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:56:13 -0500 (0:00:00.065) 0:02:00.762 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:56:14 -0500 (0:00:00.382) 0:02:01.144 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:56:14 -0500 (0:00:00.058) 0:02:01.203 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017176", "end": "2024-12-14 07:56:14.766964", "rc": 1, "start": "2024-12-14 07:56:14.749788" } 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:56:14 -0500 (0:00:00.407) 0:02:01.610 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:56:14 -0500 (0:00:00.038) 0:02:01.648 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:56:14 -0500 (0:00:00.036) 0:02:01.685 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:56:14 -0500 (0:00:00.079) 0:02:01.764 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:56:15 -0500 (0:00:00.061) 0:02:01.826 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:56:15 -0500 (0:00:00.055) 0:02:01.882 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 14 December 2024 07:56:15 -0500 (0:00:00.046) 0:02:01.928 ***** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.880447", "end": "2024-12-14 07:56:16.320843", "rc": 0, "start": "2024-12-14 07:56:15.440396" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 14 December 2024 07:56:16 -0500 (0:00:01.259) 0:02:03.188 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 14 December 2024 07:56:16 -0500 (0:00:00.055) 0:02:03.243 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:56:16 -0500 (0:00:00.058) 0:02:03.301 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:56:16 -0500 (0:00:00.117) 0:02:03.419 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:56:16 -0500 (0:00:00.100) 0:02:03.519 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:56:17 -0500 (0:00:00.457) 0:02:03.977 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:56:17 -0500 (0:00:00.063) 0:02:04.040 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:56:17 -0500 (0:00:00.080) 0:02:04.121 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:56:17 -0500 (0:00:00.130) 0:02:04.251 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035971", "end": "2024-12-14 07:56:17.910908", "rc": 1, "start": "2024-12-14 07:56:17.874937" } 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 14 December 2024 07:56:18 -0500 (0:00:00.535) 0:02:04.787 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008369", "end": "2024-12-14 07:56:18.469382", "rc": 0, "start": "2024-12-14 07:56:18.461013" } 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:cd:5d:17:53 brd ff:ff:ff:ff:ff:ff inet 10.31.12.7/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2409sec preferred_lft 2409sec inet6 fe80::8ff:cdff:fe5d:1753/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.7 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.7 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 14 December 2024 07:56:18 -0500 (0:00:00.552) 0:02:05.339 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.215849", "end": "2024-12-14 07:56:19.153909", "rc": 0, "start": "2024-12-14 07:56:18.938060" } STDOUT: CHECK DNS AND CONNECTIVITY 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.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2019 0 --:--:-- --:--:-- --:--:-- 2006 % 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 7275 0 --:--:-- --:--:-- --:--:-- 7275 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 14 December 2024 07:56:19 -0500 (0:00:00.643) 0:02:05.983 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-d1H/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-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26